diff options
-rw-r--r-- | drivers/acpi/osl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 416953a42510..d47df72990dd 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -181,9 +181,7 @@ void acpi_os_vprintf(const char *fmt, va_list args) | |||
181 | static unsigned long acpi_rsdp; | 181 | static unsigned long acpi_rsdp; |
182 | static int __init setup_acpi_rsdp(char *arg) | 182 | static int __init setup_acpi_rsdp(char *arg) |
183 | { | 183 | { |
184 | if (kstrtoul(arg, 16, &acpi_rsdp)) | 184 | return kstrtoul(arg, 16, &acpi_rsdp); |
185 | return -EINVAL; | ||
186 | return 0; | ||
187 | } | 185 | } |
188 | early_param("acpi_rsdp", setup_acpi_rsdp); | 186 | early_param("acpi_rsdp", setup_acpi_rsdp); |
189 | #endif | 187 | #endif |