提交 80204124 编写于 作者: H Hauke Mehrtens 提交者: 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: NHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 2ddd8db9
......@@ -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);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册