|
From: | Vladimir 'phcoder' Serbinenko |
Subject: | Re: arm64/xen: Remove duplicate check for arguments |
Date: | Tue, 20 Nov 2018 19:54:57 +0100 |
From: Lee Jones <address@hidden>
arm64/xen: Remove duplicate check for arguments
Signed-off-by: Lee Jones <address@hidden>
diff --git a/grub-core/loader/arm64/xen_boot.c b/grub-core/loader/arm64/xen_boot.c
index 1b1dd8c65..5af15c70d 100644
--- a/grub-core/loader/arm64/xen_boot.c
+++ b/grub-core/loader/arm64/xen_boot.c
@@ -404,12 +404,6 @@ grub_cmd_xen_module (grub_command_t cmd __attribute__((unused)),
argc--;
}
- if (!argc)
- {
- grub_error (GRUB_ERR_BAD_ARGUMENT, N_("filename expected"));
- goto fail;
- }
-
if (!loaded)
{
grub_error (GRUB_ERR_BAD_ARGUMENT,
_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel
[Prev in Thread] | Current Thread | [Next in Thread] |