diff options
author | Tilman Schmidt <tilman@imap.cc> | 2010-02-22 08:09:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 04:24:23 -0500 |
commit | 1528b18f7ec2b907711f37667c68e10d9296c882 (patch) | |
tree | 00c887ea15474334898ae1f89a05706be49079ed /drivers/isdn/gigaset/asyncdata.c | |
parent | 63e055d1c6e3a5f6d370cc841d621d5fa4d5d834 (diff) |
gigaset: reduce syslog clutter
Improve readability of the Gigaset driver's kernel messages by
removing a few unnecessary messages and limiting the emission
of some debug messages more narrowly.
Impact: logging
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/asyncdata.c')
-rw-r--r-- | drivers/isdn/gigaset/asyncdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/asyncdata.c b/drivers/isdn/gigaset/asyncdata.c index e913beb63f24..c5016bd2d94f 100644 --- a/drivers/isdn/gigaset/asyncdata.c +++ b/drivers/isdn/gigaset/asyncdata.c | |||
@@ -67,14 +67,14 @@ static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf) | |||
67 | /* --v-- fall through --v-- */ | 67 | /* --v-- fall through --v-- */ |
68 | case '\r': | 68 | case '\r': |
69 | /* end of message line, pass to response handler */ | 69 | /* end of message line, pass to response handler */ |
70 | gig_dbg(DEBUG_TRANSCMD, "%s: End of Message (%d Bytes)", | ||
71 | __func__, cbytes); | ||
72 | if (cbytes >= MAX_RESP_SIZE) { | 70 | if (cbytes >= MAX_RESP_SIZE) { |
73 | dev_warn(cs->dev, "response too large (%d)\n", | 71 | dev_warn(cs->dev, "response too large (%d)\n", |
74 | cbytes); | 72 | cbytes); |
75 | cbytes = MAX_RESP_SIZE; | 73 | cbytes = MAX_RESP_SIZE; |
76 | } | 74 | } |
77 | cs->cbytes = cbytes; | 75 | cs->cbytes = cbytes; |
76 | gigaset_dbg_buffer(DEBUG_TRANSCMD, "received response", | ||
77 | cbytes, cs->respdata); | ||
78 | gigaset_handle_modem_response(cs); | 78 | gigaset_handle_modem_response(cs); |
79 | cbytes = 0; | 79 | cbytes = 0; |
80 | 80 | ||