Skip to content

Commit

Permalink
arlan: fix warning when PROC_FS=n
Browse files Browse the repository at this point in the history
drivers/net/wireless/arlan-proc.c:1216: warning: 'arlan_root_table' defined but not used

Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Mar 24, 2008
1 parent a9f4678 commit 9fe0a8c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/net/wireless/arlan-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9fe0a8c

Please sign in to comment.