]> err.no Git - linux-2.6/commitdiff
arlan: fix warning when PROC_FS=n
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Mar 2008 20:19:04 +0000 (16:19 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Mar 2008 23:25:08 +0000 (19:25 -0400)
drivers/net/wireless/arlan-proc.c:1216: warning: 'arlan_root_table' defined but not used

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/arlan-proc.c

index c6e70dbc5de824a9ab63286c82d76ed6480a40ff..2ab1d59870f4e1114daca7a1212e43a61026bf68 100644 (file)
@@ -1197,13 +1197,6 @@ static ctl_table arlan_table[] =
 
 #else
 
-static ctl_table arlan_table[MAX_ARLANS + 1] =
-{
-       { .ctl_name = 0 }
-};
-#endif
-#else
-
 static ctl_table arlan_table[MAX_ARLANS + 1] =
 {
        { .ctl_name = 0 }
@@ -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)