From: Henry Ptasinski Date: Wed, 29 Jun 2011 23:46:49 +0000 (-0700) Subject: staging: brcm80211: removed unneeded 'if' statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=54cbb66b4b94adac7d4e5aa43a5e0c86802cfd1a;p=linux-beck.git staging: brcm80211: removed unneeded 'if' statement The 'if' is unnecessary, since no action is taken as a result of the test. Signed-off-by: Henry Ptasinski Reviewed-by: Roland Vossen Reviewed-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/bmac.c b/drivers/staging/brcm80211/brcmsmac/bmac.c index bdaad20f5b45..90d1b327f029 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) {