md/raid0: remove empty line printk from dump_zones
PATCH 1/1 md/raid0: remove empty line printk from dump_zones
Remove the final printk. All preceding output is already properly newline-terminated and the printk isn't even KERN_CONT to begin with, so it only adds one empty line to the log.
Signed-off-by Michal Pecio <[email protected]>
--- drivers/md/raid0.c | 1 - 1 file changed, 1 deletion(-)
drivers/md/raid0.c +0 -1
@@ -70,7 +70,6 @@ static void dump_zones(struct mddev *mddev) (unsigned long long)zone_size>>1); zone_start = conf->strip_zone[j].zone_end; } -printk (KERN_INFO "\n" ); }static int create_strip_zones (struct mddev *mddev,struct r0conf **private_conf)
Quoted 15 lines · Michał Pecio
Remove the final printk. All preceding output is already properly newline-terminated and the printk isn't even
KERN_CONTto begin with, so it only adds one empty line to the log.Signed-off-by Michal Pecio <[email protected]>--- drivers/md/raid0.c | 1 - 1 file changed, 1 deletion(-)drivers/md/raid0.c +0
-0
drivers/md/raid0.c static void dump_zones(struct mddev *mddev) · line 73
Quoted 5 lines
drivers/md/raid0.c +0
-1@@ -70,7 +70,6 @@ static void dump_zones(struct mddev *mddev) (unsigned long long)zone_size>>1); zone_start = conf->strip_zone[j].zone_end; } -printk (KERN_INFO "\n" ); }
applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html