From: Henry Ptasinski <[email protected]>

The 'if' is unnecessary, since no action is taken as a result of the test.

Signed-off-by: Henry Ptasinski <[email protected]>
Reviewed-by: Roland Vossen <[email protected]>
Reviewed-by: Arend van Spriel <[email protected]>
---
 drivers/staging/brcm80211/brcmsmac/bmac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/brcm80211/brcmsmac/bmac.c 
b/drivers/staging/brcm80211/brcmsmac/bmac.c
index bdaad20..90d1b32 100644
--- a/drivers/staging/brcm80211/brcmsmac/bmac.c
+++ b/drivers/staging/brcm80211/brcmsmac/bmac.c
@@ -349,7 +349,7 @@ bool brcms_c_dpc(struct brcms_c_info *wlc, bool bounded)
 
        /* TX FIFO suspend/flush completion */
        if (macintstatus & MI_TXSTOP)
-               if (brcms_b_tx_fifo_suspended(wlc_hw, TX_DATA_FIFO));
+               brcms_b_tx_fifo_suspended(wlc_hw, TX_DATA_FIFO);
 
        /* noise sample collected */
        if (macintstatus & MI_BG_NOISE) {
-- 
1.7.1


_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to