提交 8fb1eb8b 编写于 作者: J Joe Perches 提交者: John W. Linville

brcmfmac: Remove useless #ifdef DEBUG

This doesn't do anything anymore.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册