Commit 80204124 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Brian Norris

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: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 2ddd8db9
...@@ -1765,7 +1765,7 @@ static void brcmnand_print_cfg(char *buf, struct brcmnand_cfg *cfg) ...@@ -1765,7 +1765,7 @@ static void brcmnand_print_cfg(char *buf, struct brcmnand_cfg *cfg)
else if (cfg->sector_size_1k) else if (cfg->sector_size_1k)
sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1); sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1);
else else
sprintf(buf, ", BCH-%u\n", cfg->ecc_level); sprintf(buf, ", BCH-%u", cfg->ecc_level);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment