All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/efi: remove unused variable efi
@ 2016-06-06 14:32 ` Colin King
  0 siblings, 0 replies; 4+ 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-DgEjT+Ai2ygdnm+yROfE0A, linux-efi-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA

From: Colin Ian King <colin.king-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>

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-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
---
 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] 4+ messages in thread

* [PATCH] x86/efi: remove unused variable efi
@ 2016-06-06 14:32 ` Colin King
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: [PATCH] x86/efi: remove unused variable efi
  2016-06-06 14:32 ` Colin King
@ 2016-06-08 12:41     ` Matt Fleming
  -1 siblings, 0 replies; 4+ 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-DgEjT+Ai2ygdnm+yROfE0A, linux-efi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Mon, 06 Jun, at 03:32:11PM, Colin Ian King wrote:
> From: Colin Ian King <colin.king-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
> 
> 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-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
> ---
>  arch/x86/boot/compressed/eboot.c | 2 --
>  1 file changed, 2 deletions(-)

Thanks Colin, applied to 'next'.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/efi: remove unused variable efi
@ 2016-06-08 12:41     ` Matt Fleming
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2016-06-08 12:41 UTC | newest]

Thread overview: 4+ 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-06 14:32 ` Colin King
     [not found] ` <1465223531-15661-1-git-send-email-colin.king-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
2016-06-08 12:41   ` Matt Fleming
2016-06-08 12:41     ` Matt Fleming

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.