* [PATCH] x86/efi: remove unused variable efi
@ 2016-06-06 14:32 Colin King
2016-06-08 12:41 ` Matt Fleming
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2016-06-06 14:32 UTC (permalink / raw)
To: Matt Fleming, H . Peter Anvi, Thomas Gleixner, Ingo Molnar, x86,
linux-efi
Cc: linux-kernel
From: Colin Ian King <colin.king@canonical.com>
Remove unused variable efi, it is never used. Fixes clang build
warning:
arch/x86/boot/compressed/eboot.c:803:2: warning: Value stored to
'efi' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
arch/x86/boot/compressed/eboot.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c
index 52fef60..ff574da 100644
--- a/arch/x86/boot/compressed/eboot.c
+++ b/arch/x86/boot/compressed/eboot.c
@@ -757,7 +757,6 @@ struct boot_params *make_boot_params(struct efi_config *c)
struct boot_params *boot_params;
struct apm_bios_info *bi;
struct setup_header *hdr;
- struct efi_info *efi;
efi_loaded_image_t *image;
void *options, *handle;
efi_guid_t proto = LOADED_IMAGE_PROTOCOL_GUID;
@@ -800,7 +799,6 @@ struct boot_params *make_boot_params(struct efi_config *c)
memset(boot_params, 0x0, 0x4000);
hdr = &boot_params->hdr;
- efi = &boot_params->efi_info;
bi = &boot_params->apm_bios_info;
/* Copy the second sector to boot_params */
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/efi: remove unused variable efi
2016-06-06 14:32 [PATCH] x86/efi: remove unused variable efi Colin King
@ 2016-06-08 12:41 ` Matt Fleming
0 siblings, 0 replies; 2+ messages in thread
From: Matt Fleming @ 2016-06-08 12:41 UTC (permalink / raw)
To: Colin King
Cc: H . Peter Anvi, Thomas Gleixner, Ingo Molnar, x86, linux-efi,
linux-kernel
On Mon, 06 Jun, at 03:32:11PM, Colin Ian King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Remove unused variable efi, it is never used. Fixes clang build
> warning:
>
> arch/x86/boot/compressed/eboot.c:803:2: warning: Value stored to
> 'efi' is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> arch/x86/boot/compressed/eboot.c | 2 --
> 1 file changed, 2 deletions(-)
Thanks Colin, applied to 'next'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-08 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 14:32 [PATCH] x86/efi: remove unused variable efi Colin King
2016-06-08 12:41 ` Matt Fleming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).