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
1 changed files with 0 additions and 8 deletions
|
@ -1197,13 +1197,6 @@ static ctl_table arlan_table[] =
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static ctl_table arlan_table[MAX_ARLANS + 1] =
|
|
||||||
{
|
|
||||||
{ .ctl_name = 0 }
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
|
|
||||||
static ctl_table arlan_table[MAX_ARLANS + 1] =
|
static ctl_table arlan_table[MAX_ARLANS + 1] =
|
||||||
{
|
{
|
||||||
{ .ctl_name = 0 }
|
{ .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;
|
static struct ctl_table_header *arlan_device_sysctl_header;
|
||||||
|
|
||||||
int __init init_arlan_proc(void)
|
int __init init_arlan_proc(void)
|
||||||
|
|
Loading…
Reference in a new issue