* [PATCH] x86/efi: Remove unused find_bits() function
@ 2016-08-15 11:52 Lukas Wunner
[not found] ` <494a2f40906bb220168d835b37e609232fe0ffdf.1471261734.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wunner @ 2016-08-15 11:52 UTC (permalink / raw)
To: linux-efi-u79uwXL29TY76Z2rM5mHXA, Matt Fleming; +Cc: Ard Biesheuvel
Left behind by commit fc37206427ce ("efi/libstub: Move Graphics Output
Protocol handling to generic code").
Cc: Ard Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Signed-off-by: Lukas Wunner <lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
---
arch/x86/boot/compressed/eboot.c | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c
index ec6d2ef..f7fc85b 100644
--- a/arch/x86/boot/compressed/eboot.c
+++ b/arch/x86/boot/compressed/eboot.c
@@ -286,29 +286,6 @@ void efi_char16_printk(efi_system_table_t *table, efi_char16_t *str)
}
}
-static void find_bits(unsigned long mask, u8 *pos, u8 *size)
-{
- u8 first, len;
-
- first = 0;
- len = 0;
-
- if (mask) {
- while (!(mask & 0x1)) {
- mask = mask >> 1;
- first++;
- }
-
- while (mask & 0x1) {
- mask = mask >> 1;
- len++;
- }
- }
-
- *pos = first;
- *size = len;
-}
-
static efi_status_t
__setup_efi_pci32(efi_pci_io_protocol_32 *pci, struct pci_setup_rom **__rom)
{
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/efi: Remove unused find_bits() function
[not found] ` <494a2f40906bb220168d835b37e609232fe0ffdf.1471261734.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
@ 2016-08-16 11:34 ` Matt Fleming
0 siblings, 0 replies; 2+ messages in thread
From: Matt Fleming @ 2016-08-16 11:34 UTC (permalink / raw)
To: Lukas Wunner; +Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA, Ard Biesheuvel
On Mon, 15 Aug, at 01:52:34PM, Lukas Wunner wrote:
> Left behind by commit fc37206427ce ("efi/libstub: Move Graphics Output
> Protocol handling to generic code").
>
> Cc: Ard Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Signed-off-by: Lukas Wunner <lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
> ---
> arch/x86/boot/compressed/eboot.c | 23 -----------------------
> 1 file changed, 23 deletions(-)
Thanks Lukas, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-16 11:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 11:52 [PATCH] x86/efi: Remove unused find_bits() function Lukas Wunner
[not found] ` <494a2f40906bb220168d835b37e609232fe0ffdf.1471261734.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2016-08-16 11:34 ` 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).