We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c2b77 commit 15cf7caCopy full SHA for 15cf7ca
arch/x86/boot/compressed/eboot.c
@@ -286,29 +286,6 @@ void efi_char16_printk(efi_system_table_t *table, efi_char16_t *str)
286
}
287
288
289
-static void find_bits(unsigned long mask, u8 *pos, u8 *size)
290
-{
291
- u8 first, len;
292
-
293
- first = 0;
294
- len = 0;
295
296
- if (mask) {
297
- while (!(mask & 0x1)) {
298
- mask = mask >> 1;
299
- first++;
300
- }
301
302
- while (mask & 0x1) {
303
304
- len++;
305
306
307
308
- *pos = first;
309
- *size = len;
310
-}
311
312
static efi_status_t
313
__setup_efi_pci32(efi_pci_io_protocol_32 *pci, struct pci_setup_rom **__rom)
314
{
0 commit comments