Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
}
}


/*
/*