From: Hendrik Brueckner Date: Thu, 26 Mar 2009 14:24:34 +0000 (+0100) Subject: [S390] remove duplicate nul-termination of string X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ced2c8bcbc5082bc112d7c7410b3f5380c77e306;p=linux-beck.git [S390] remove duplicate nul-termination of string strlcpy() does already NUL-terminate the destination string. Signed-off-by: Hendrik Brueckner Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index d61eb3334edf..4d221c81c849 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -352,7 +352,6 @@ static void __init setup_boot_command_line(void) /* copy arch command line */ strlcpy(boot_command_line, COMMAND_LINE, ARCH_COMMAND_LINE_SIZE); - boot_command_line[ARCH_COMMAND_LINE_SIZE - 1] = 0; /* append IPL PARM data to the boot command line */ if (MACHINE_IS_VM) {