summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2016-08-15 13:52:34 +0200
committerMatt Fleming <matt@codeblueprint.co.uk>2016-09-09 16:08:50 +0100
commit15cf7cae087a2eaf5e1feeef2bbba1b5a94c7639 (patch)
treecfa46e341a2f5da7e05a45d7f76a16995c3054e1 /arch/x86/boot
parent22c2b77f419bdc9317f00b395283abd33157368e (diff)
downloadop-kernel-dev-15cf7cae087a2eaf5e1feeef2bbba1b5a94c7639.zip
op-kernel-dev-15cf7cae087a2eaf5e1feeef2bbba1b5a94c7639.tar.gz
x86/efi: Remove unused find_bits() function
Left behind by commit fc37206427ce ("efi/libstub: Move Graphics Output Protocol handling to generic code"). Signed-off-by: Lukas Wunner <lukas@wunner.de> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/compressed/eboot.c23
1 files changed, 0 insertions, 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)
{
OpenPOWER on IntegriCloud