Staging: ks7010: remove unused function in ks_wlan_net.c
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 23 Sep 2016 13:21:33 +0000 (21:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2016 17:00:59 +0000 (19:00 +0200)
We get 1 warning when building kernel with W=1:
drivers/staging/ks7010/ks_wlan_net.c:3520:5: warning: no previous prototype for 'ks_wlan_reset' [-Wmissing-prototypes]

In fact, these functions are unused in
ks_wlan_net.c, but should be removed.

So this patch removes the unused function.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index ee9c8f3828cfde606534b274b7441901dc8c17b2..f1cd90e9c752f3ccae0a99f5a4ebe13a70eba046 100644 (file)
@@ -3516,8 +3516,3 @@ int ks_wlan_net_stop(struct net_device *dev)
 
        return ret;
 }
-
-int ks_wlan_reset(struct net_device *dev)
-{
-       return 0;
-}