mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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 <hauke@hauke-m.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
2ddd8db90a
commit
802041247a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue