Re: [PATCH] md/raid0: remove empty line printk from dump_zones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 24, 2016 at 06:11:45PM +0200, Michał Pecio wrote:
> 
> 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 <michal.pecio@xxxxxxxxx>
> ---
>  drivers/md/raid0.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
> index f8e5db0..3e51f4d 100644
> --- a/drivers/md/raid0.c
> +++ b/drivers/md/raid0.c
> @@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux