summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/arlan-proc.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-03-20 16:19:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-24 19:25:08 -0400
commit9fe0a8c838f0584bca51bcc2f81e5c2c933a5880 (patch)
treec6d92c4ccc00335c56fa3ba47d401a1978c84d9c /drivers/net/wireless/arlan-proc.c
parenta9f46786ec5bb291c9b5e6cc6f83ebbd3fceea51 (diff)
downloadlinux-9fe0a8c838f0584bca51bcc2f81e5c2c933a5880.tar.bz2
arlan: fix warning when PROC_FS=n
drivers/net/wireless/arlan-proc.c:1216: warning: 'arlan_root_table' defined but not used Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/arlan-proc.c')
-rw-r--r--drivers/net/wireless/arlan-proc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/arlan-proc.c b/drivers/net/wireless/arlan-proc.c
index c6e70dbc5de8..2ab1d59870f4 100644
--- a/drivers/net/wireless/arlan-proc.c
+++ b/drivers/net/wireless/arlan-proc.c
@@ -1202,13 +1202,6 @@ static ctl_table arlan_table[MAX_ARLANS + 1] =
{ .ctl_name = 0 }
};
#endif
-#else
-
-static ctl_table arlan_table[MAX_ARLANS + 1] =
-{
- { .ctl_name = 0 }
-};
-#endif
// static int mmtu = 1234;
@@ -1233,7 +1226,6 @@ static ctl_table arlan_root_table[] =
//};
-#ifdef CONFIG_PROC_FS
static struct ctl_table_header *arlan_device_sysctl_header;
int __init init_arlan_proc(void)