From: Hauke Mehrtens Date: Sun, 17 May 2015 15:41:00 +0000 (+0200) Subject: mtd: brcmnand: remove double new line from print X-Git-Tag: v4.13~5033^2~27 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=802041247a0abbeaf1dddb8a8d56f491762ae357;p=mirror_ubuntu-bionic-kernel.git mtd: brcmnand: remove double new line from print The caller already adds a new line and in the other cases there is no new line added. Signed-off-by: Hauke Mehrtens Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/brcmnand/brcmnand.c b/drivers/mtd/nand/brcmnand/brcmnand.c index a780768fe5e0..bae30ab8f12f 100644 --- a/drivers/mtd/nand/brcmnand/brcmnand.c +++ b/drivers/mtd/nand/brcmnand/brcmnand.c @@ -1765,7 +1765,7 @@ static void brcmnand_print_cfg(char *buf, struct brcmnand_cfg *cfg) else if (cfg->sector_size_1k) sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1); else - sprintf(buf, ", BCH-%u\n", cfg->ecc_level); + sprintf(buf, ", BCH-%u", cfg->ecc_level); } /*