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>
This commit is contained in:
parent
a9f46786ec
commit
9fe0a8c838
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user