brcmfmac: Remove unnecessary new-line in pcie console logging.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 18 Mar 2015 12:25:24 +0000 (13:25 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 07:03:41 +0000 (09:03 +0200)
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>
drivers/net/wireless/brcm80211/brcmfmac/pcie.c

index aa7a4dfb8beb77ed82c1cce09514cfa556b8fe64..ec426f38ef9622c77b5b8ae63dfdebb958a8fd3c 100644 (file)
@@ -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;
                }
        }