Skip to contentSkip to conversation

staging: wilc1000: Move externs from .c to .h files.

PATCH In review Elise Lennion 2 participants 2 messages Oct 8, 2016 – Oct 10, 2016 Staging

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +0 -3
index fca96d3..a5e2d96 100644
@@ -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