summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2015-03-18 13:25:24 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-03-20 09:03:41 +0200
commitef5671d29df558405f454c606c639db3337548e2 (patch)
tree4cb1510d264f57e3f13e067fe19e74812729549b /drivers/net/wireless/brcm80211/brcmfmac/pcie.c
parenta74196bb67c4f21a8308d26ba3bbdd22d766f5a4 (diff)
downloadlwn-ef5671d29df558405f454c606c639db3337548e2.tar.gz
lwn-ef5671d29df558405f454c606c639db3337548e2.zip
brcmfmac: Remove unnecessary new-line in pcie console logging.
Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/pcie.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/pcie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
index aa7a4dfb8beb..ec426f38ef96 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
@@ -651,10 +651,9 @@ static void brcmf_pcie_bus_console_read(struct brcmf_pciedev_info *devinfo)
console->log_str[console->log_idx] = ch;
console->log_idx++;
}
-
if (ch == '\n') {
console->log_str[console->log_idx] = 0;
- brcmf_dbg(PCIE, "CONSOLE: %s\n", console->log_str);
+ brcmf_dbg(PCIE, "CONSOLE: %s", console->log_str);
console->log_idx = 0;
}
}