[PATCH 1/2] comm: msgb: don't set backlight on error

Wolfram Sang wolfram at the-dreams.de
Sat Apr 30 07:53:50 UTC 2011


It seems just to be a debugging aid, but brings in an unwanted
calypso-dependency.

Signed-off-by: Wolfram Sang <wolfram at the-dreams.de>
Cc: Harald Welte <laforge at gnumonks.org>
---
 src/target/firmware/comm/msgb.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index ff18e65..792abc6 100644
--- a/src/target/firmware/comm/msgb.c
+++ b/src/target/firmware/comm/msgb.c
@@ -60,7 +60,6 @@ void *_talloc_zero(void *ctx, unsigned int size, const char *name)
 			}
 		}
 		cons_puts("unable to allocate msgb\n");
-		bl_level(++i % 50);
 		delay_ms(50);
 	}
 panic:
-- 
1.7.2.5





More information about the baseband-devel mailing list