Skip to contentSkip to conversation

staging: wilc1000: Remove unused function

PATCH New Amitoj Kaur Chawla 1 participant 1 message Feb 16, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Remove unused function

Remove wilc_wlan_global_reset function since it is not used anywhere in this driver.

This also silences the following sparse warning:
drivers/staging/wilc1000/wilc_wlan.c:1120:6: warning: symbol 'wilc_wlan_global_reset' was not declared. Should it be static?

---
 drivers/staging/wilc1000/wilc_wlan.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/staging/wilc1000/wilc_wlan.c +0 -6
index ef65e8e..c44b878 100644
@@ -1117,12 +1117,6 @@ int wilc_wlan_start(struct wilc *wilc)
 	return (ret < 0) ? ret : 0;
 }
 
-void wilc_wlan_global_reset(struct wilc *wilc)
-{
-	acquire_bus(wilc, ACQUIRE_AND_WAKEUP);
-	wilc->hif_func->hif_write_reg(wilc, WILC_GLB_RESET_0, 0x0);
-	release_bus(wilc, RELEASE_ONLY);
-}
 int wilc_wlan_stop(struct wilc *wilc)
 {
 	u32 reg = 0;
Signature · 1 line
1.9.1