]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
verifiers: IA-64 fallout cleanup
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Mar 2019 15:18:31 +0000 (16:18 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 20 Mar 2019 10:38:28 +0000 (11:38 +0100)
IA-64 fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility
to verify kernel and modules command lines).

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
grub-core/loader/ia64/efi/linux.c

index 639a1f379b6059aa991f6733f8ff2cd2233c6a1b..7987fd1ba4fee8c96607c07ef3c9ee98ffe8f9e5 100644 (file)
@@ -505,8 +505,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
 
   *p = '\0';
 
-  err = grub_verify_string (cmdline, GRUB_VERIFY_KERNEL_CMDLINE);
-  if (err)
+  if (grub_verify_string (cmdline, GRUB_VERIFY_KERNEL_CMDLINE))
     goto fail;
   
   boot_param->command_line = (grub_uint64_t) cmdline;