Skip to content

Commit

Permalink
staging: brcm80211: removed unneeded 'if' statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henry Ptasinski authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent e52d30f commit 54cbb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 54cbb66

Please sign in to comment.