diff options
author | Jiri Kosina <jkosina@suse.cz> | 2008-04-29 11:59:04 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 19:06:01 +0400 |
commit | 4aacd47bd88126109a7c295b79c93604bd4bfd5a (patch) | |
tree | 9edf2b49aad71ea1215dd5330c15601ffbfcc31f /drivers/char/pcmcia/ipwireless/network.c | |
parent | f249fdd8c19ff65825c0be67212cdf22e556668e (diff) | |
download | linux-4aacd47bd88126109a7c295b79c93604bd4bfd5a.tar.xz |
ipwireless: remove dead code
Remove unused leftovers of debugging functions. 2.6.25 material.
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pcmcia/ipwireless/network.c')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/network.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/char/pcmcia/ipwireless/network.c b/drivers/char/pcmcia/ipwireless/network.c index d793e68b3e0d..fe914d34f7f6 100644 --- a/drivers/char/pcmcia/ipwireless/network.c +++ b/drivers/char/pcmcia/ipwireless/network.c @@ -63,21 +63,6 @@ struct ipw_network { struct work_struct work_go_offline; }; - -#ifdef IPWIRELESS_STATE_DEBUG -int ipwireless_dump_network_state(char *p, size_t limit, - struct ipw_network *network) -{ - return snprintf(p, limit, - "debug: ppp_blocked=%d\n" - "debug: outgoing_packets_queued=%d\n" - "debug: network.shutting_down=%d\n", - network->ppp_blocked, - network->outgoing_packets_queued, - network->shutting_down); -} -#endif - static void notify_packet_sent(void *callback_data, unsigned int packet_length) { struct ipw_network *network = callback_data; |