diff options
author | 2016-02-16 18:36:00 +0530 | |
---|---|---|
committer | 2016-02-19 16:58:06 -0800 | |
commit | 792f4b1c4e267c0d5a6f654c3f156f1b7a0ba824 (patch) | |
tree | 18675f146b650eb9f08e30ab508e6cd4030bfcf7 /drivers/staging/wilc1000/wilc_wlan.c | |
parent | staging: wilc1000: Removed braces from single block statements (diff) | |
download | linux-dev-792f4b1c4e267c0d5a6f654c3f156f1b7a0ba824.tar.xz linux-dev-792f4b1c4e267c0d5a6f654c3f156f1b7a0ba824.zip |
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?
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index ef65e8ef4b49..c44b87896d4e 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -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; |