staging: brcm80211: removed unneeded 'if' statement
authorHenry Ptasinski <henryp@broadcom.com>
Wed, 29 Jun 2011 23:46:49 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:12 +0000 (09:57 -0700)
The 'if' is unnecessary, since no action is taken as a result of the test.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/bmac.c

index bdaad20f5b459e9d485a5915be05b14666372156..90d1b327f029763c5bdec94ab83bfac9edb149aa 100644 (file)
@@ -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) {