Procházet zdrojové kódy

x86/acpi: acpi_parse_madt_ioapic_entries: remove redundant braces

We don't put braces around a single statement.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Jeremy Fitzhardinge před 16 roky
rodič
revize
6b2b171a77
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      arch/x86/kernel/acpi/boot.c

+ 1 - 2
arch/x86/kernel/acpi/boot.c

@@ -1179,9 +1179,8 @@ static int __init acpi_parse_madt_ioapic_entries(void)
 	 * If MPS is present, it will handle them,
 	 * otherwise the system will stay in PIC mode
 	 */
-	if (acpi_disabled || acpi_noirq) {
+	if (acpi_disabled || acpi_noirq)
 		return -ENODEV;
-	}
 
 	if (!cpu_has_apic)
 		return -ENODEV;