[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1474636893-10246-1-git-send-email-baoyou.xie@linaro.org>
Date: Fri, 23 Sep 2016 21:21:33 +0800
From: Baoyou Xie <baoyou.xie@...aro.org>
To: gregkh@...uxfoundation.org, wsa@...-dreams.de, bhumirks@...il.com,
dan.carpenter@...cle.com, julia.lawall@...6.fr,
weiyongjun1@...wei.com, karniksayli1995@...il.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
arnd@...db.de, baoyou.xie@...aro.org, xie.baoyou@....com.cn
Subject: [PATCH 2/2] 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@...aro.org>
---
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 ee9c8f3..f1cd90e 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -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;
-}
--
2.7.4
Powered by blists - more mailing lists