fix sparse warning by droping unused empty function. Fixes: 13a9930d15b4 ("staging: ks7010: add driver from Nanonote extra-repository") Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx> --- sparse warning: drivers/staging/ks7010/ks_wlan_net.c:3525:5: warning: symbol 'ks_wlan_reset' not declared. Should it be static? but ks_wlan_reset is unused and effectively an empty function so it can be dropped. Compile tested with: x86_64_defconfig + CONFIG_STAGING=y CONFIG_MMC=m, CONFIG_KS7010=m Patch is against 4.7-rc7 (localversion-next -next-20160727) drivers/staging/ks7010/ks_wlan_net.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index 1e21eb1..2347d5a 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c +++ b/drivers/staging/ks7010/ks_wlan_net.c @@ -3521,8 +3521,3 @@ int ks_wlan_net_stop(struct net_device *dev) return ret; } - -int ks_wlan_reset(struct net_device *dev) -{ - return 0; -} -- 2.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel