summaryrefslogtreecommitdiff
path: root/drivers/char/pcmcia/ipwireless/network.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2008-04-29 11:59:04 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 19:06:01 +0400
commit4aacd47bd88126109a7c295b79c93604bd4bfd5a (patch)
tree9edf2b49aad71ea1215dd5330c15601ffbfcc31f /drivers/char/pcmcia/ipwireless/network.c
parentf249fdd8c19ff65825c0be67212cdf22e556668e (diff)
downloadlinux-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.c15
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;