Przeglądaj źródła

Remove some unused variables

When Andi reverted the HPET resource reservation (in commit
0f8dc2f06560e2ca126d1670a24126ba08357d38), he didn't remove the now
unused variables, which just causes gcc to be noisy.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Linus Torvalds 18 lat temu
rodzic
commit
ba609a9d97
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      arch/i386/kernel/acpi/boot.c

+ 0 - 2
arch/i386/kernel/acpi/boot.c

@@ -621,8 +621,6 @@ static int __init acpi_parse_sbf(struct acpi_table_header *table)
 static int __init acpi_parse_hpet(struct acpi_table_header *table)
 static int __init acpi_parse_hpet(struct acpi_table_header *table)
 {
 {
 	struct acpi_table_hpet *hpet_tbl;
 	struct acpi_table_hpet *hpet_tbl;
-	struct resource *hpet_res;
-	resource_size_t res_start;
 
 
 	hpet_tbl = (struct acpi_table_hpet *)table;
 	hpet_tbl = (struct acpi_table_hpet *)table;
 	if (!hpet_tbl) {
 	if (!hpet_tbl) {