The function wlc_print_txstatus has conditional implementation controlled by BCMDBG so the call to wlc_print_txs_status does not need to be surrounded by #ifdef BCMDBG as well. Reviewed-by: Brett Rudley <brudley@xxxxxxxxxxxx> Reviewed-by: Roland Vossen <rvossen@xxxxxxxxxxxx> Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx> --- drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c b/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c index 701750f..c68288e 100644 --- a/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c +++ b/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c @@ -4736,9 +4736,7 @@ void wlc_print_txstatus(tx_status_t *txs) printf("FrameID: %04x ", txs->frameid); printf("TxStatus: %04x", s); printf("\n"); -#ifdef BCMDBG wlc_print_txs_status(s); -#endif printf("LastTxTime: %04x ", txs->lasttxtime); printf("Seq: %04x ", txs->sequence); printf("PHYTxStatus: %04x ", txs->phyerr); -- 1.7.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel