Staging: ks7010: remove unused function in ks_wlan_net.c

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>
This commit is contained in:
Baoyou Xie 2016-09-23 21:21:33 +08:00 committed by Greg Kroah-Hartman
parent af8b19c4a8
commit e4e8d968a3

View 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;
}