summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/early.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2009-03-26 15:24:34 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 15:24:23 +0100
commitced2c8bcbc5082bc112d7c7410b3f5380c77e306 (patch)
treeef4afd172bdc2e0b3b7fbe2630725b8ff665a9fa /arch/s390/kernel/early.c
parent6faf250789dfd35146a71402f9be245be82bf01e (diff)
[S390] remove duplicate nul-termination of string
strlcpy() does already NUL-terminate the destination string. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r--arch/s390/kernel/early.c1
1 files changed, 0 insertions, 1 deletions
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) {