From: Daniel Kiper Date: Thu, 14 Mar 2019 15:18:31 +0000 (+0100) Subject: verifiers: IA-64 fallout cleanup X-Git-Tag: grub-2.04-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc2b481c4a2e2de771ee3b31436fe5bdaedbdd3;p=thirdparty%2Fgrub.git verifiers: IA-64 fallout cleanup IA-64 fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility to verify kernel and modules command lines). Signed-off-by: Daniel Kiper Reviewed-by: Ross Philipson --- diff --git a/grub-core/loader/ia64/efi/linux.c b/grub-core/loader/ia64/efi/linux.c index 639a1f379..7987fd1ba 100644 --- a/grub-core/loader/ia64/efi/linux.c +++ b/grub-core/loader/ia64/efi/linux.c @@ -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;