staging: wilc1000: Move externs from .c to .h files.
PATCH v2 4/4 staging: wilc1000: Move externs from .c to .h files.
Fix checkpatch warning:
WARNING: externs should be avoided in .c files
The externs were removed because there are already declarations in wilc_wlan.h for them.
Signed-off-by Elise Lennion <[email protected]>
--- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +0 -3
@@ -90,9 +90,6 @@ static const struct wiphy_wowlan_support wowlan_support = {#define IS_MGMT_STATUS_SUCCES 0x040#define GET_PKT_OFFSET (a) (((a) >> 22) & 0x1ff) -extern int wilc_mac_open (struct net_device *ndev); -extern int wilc_mac_close (struct net_device *ndev); -static struct network_info last_scanned_shadow[MAX_NUM_SCANNED_NETWORKS_SHADOW ];static u32 last_scanned_cnt;struct timer_list wilc_during_ip_timer;
Signature · 1 line
2.7.4
Quoted 7 lines · CEST Elise Lennion
Fix checkpatch warning:
WARNING: externs should be avoided in .c files
The externs were removed because there are already declarations in
wilc_wlan.hfor them.Signed-off-by Elise Lennion <[email protected]>
Acked-by Arnd Bergmann <[email protected]>