Commit 9fe0a8c8 authored by John W. Linville's avatar John W. Linville

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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a9f46786
...@@ -1197,13 +1197,6 @@ static ctl_table arlan_table[] = ...@@ -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[] = ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment