27 lines
890 B
Diff
27 lines
890 B
Diff
|
From: Hante Meuleman <meuleman@broadcom.com>
|
||
|
Date: Wed, 18 Mar 2015 13:25:24 +0100
|
||
|
Subject: [PATCH] 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>
|
||
|
---
|
||
|
|
||
|
--- 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(
|
||
|
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;
|
||
|
}
|
||
|
}
|