aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-09 17:53:49 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-09 17:53:49 +0000
commit9383de30106428be6da2801b0fcf4d32801ab6a8 (patch)
tree6e8a03d8d4f31dfba61ea57fc9a9e79730700c51
parente79769b926265c4f7f68824a71e4b849d67551e2 (diff)
* remove excessive debug output during software load
* fix compiler warning about unused variable
-rw-r--r--src/abis_nm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/abis_nm.c b/src/abis_nm.c
index df8e0fd3d..b506f340d 100644
--- a/src/abis_nm.c
+++ b/src/abis_nm.c
@@ -171,7 +171,6 @@ static int abis_nm_rcvmsg_sw(struct msgb *mb);
static int abis_nm_rx_statechg_rep(struct msgb *mb)
{
struct abis_om_fom_hdr *foh = msgb_l3(mb);
- u_int8_t mt = foh->msg_type;
u_int8_t *data = &foh->data[0];
DEBUGP(DNM, "STATE CHG: OC=%02x INST=(%02x,%02x,%02x) ",
@@ -1195,8 +1194,6 @@ static int bs11_swload_cbfn(unsigned int hook, unsigned int event,
struct file_list_entry *fle;
int rc = 0;
- DEBUGP(DNM, "Event %u\n", event);
-
switch (event) {
case NM_MT_LOAD_END_ACK:
fle = fl_dequeue(&bs11_sw->file_list);