Commit 8fb1eb8b authored by Joe Perches's avatar Joe Perches Committed by John W. Linville

brcmfmac: Remove useless #ifdef DEBUG

This doesn't do anything anymore.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1e023829
...@@ -2039,13 +2039,11 @@ brcmf_sdbrcm_readframes(struct brcmf_sdio *bus, uint maxframes, bool *finished) ...@@ -2039,13 +2039,11 @@ brcmf_sdbrcm_readframes(struct brcmf_sdio *bus, uint maxframes, bool *finished)
down(&bus->sdsem); down(&bus->sdsem);
} }
rxcount = maxframes - rxleft; rxcount = maxframes - rxleft;
#ifdef DEBUG
/* Message if we hit the limit */ /* Message if we hit the limit */
if (!rxleft) if (!rxleft)
brcmf_dbg(DATA, "hit rx limit of %d frames\n", brcmf_dbg(DATA, "hit rx limit of %d frames\n",
maxframes); maxframes);
else else
#endif /* DEBUG */
brcmf_dbg(DATA, "processed %d frames\n", rxcount); brcmf_dbg(DATA, "processed %d frames\n", rxcount);
/* Back off rxseq if awaiting rtx, update rx_seq */ /* Back off rxseq if awaiting rtx, update rx_seq */
if (bus->rxskip) if (bus->rxskip)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment