Discovered by Coccinelle.   Removed the use of variable for storing
returning values, which is un-modified / un-used throughout.

Signed-off-by: Peter Teoh <htmldevelo...@gmail.com

diff -u -p a/drivers/net/wireless/brcm80211/brcmsmac/main.c
b/drivers/net/wireless/brcm80211/brcmsmac/main.c
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -5107,9 +5106,7 @@ int brcms_c_up(struct brcms_c_info *wlc)

 static uint brcms_c_down_del_timer(struct brcms_c_info *wlc)
 {
-       uint callbacks = 0;
-
-       return callbacks;
+       return 0;
 }

 static int brcms_b_bmac_down_prep(struct brcms_hardware *wlc_hw)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to