[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
arm64/xen: Remove duplicate check for arguments
From: |
Lee Jones |
Subject: |
arm64/xen: Remove duplicate check for arguments |
Date: |
Tue, 20 Nov 2018 11:37:03 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
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,
- Re: arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, (continued)
- [PATCH v2] arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Lee Jones, 2018/11/20
- [PATCH v3 (part 1)] arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Lee Jones, 2018/11/20
- Re: [PATCH v3 (part 1)] arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Daniel Kiper, 2018/11/21
- [PATCH v3 (part 2)] generic/blocklist: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Lee Jones, 2018/11/20
- Re: [PATCH v3 (part 2)] generic/blocklist: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Vladimir 'phcoder' Serbinenko, 2018/11/20
- Re: [PATCH v3 (part 2)] generic/blocklist: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Daniel Kiper, 2018/11/21
- arm64/xen: Remove duplicate check for arguments,
Lee Jones <=
- Re: arm64/xen: Remove duplicate check for arguments, Vladimir 'phcoder' Serbinenko, 2018/11/20
Re: [PATCH 0/5] Fix non-x86 builds after verifiers framework merged, Daniel Kiper, 2018/11/16