diff options
Diffstat (limited to 'drivers/acpi/apei/erst.c')
-rw-r--r-- | drivers/acpi/apei/erst.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c index 6a9e3bad13f4..eb9fab5b96e4 100644 --- a/drivers/acpi/apei/erst.c +++ b/drivers/acpi/apei/erst.c | |||
@@ -1127,10 +1127,9 @@ static int __init erst_init(void) | |||
1127 | 1127 | ||
1128 | status = acpi_get_table(ACPI_SIG_ERST, 0, | 1128 | status = acpi_get_table(ACPI_SIG_ERST, 0, |
1129 | (struct acpi_table_header **)&erst_tab); | 1129 | (struct acpi_table_header **)&erst_tab); |
1130 | if (status == AE_NOT_FOUND) { | 1130 | if (status == AE_NOT_FOUND) |
1131 | pr_info(ERST_PFX "Table is not found!\n"); | ||
1132 | goto err; | 1131 | goto err; |
1133 | } else if (ACPI_FAILURE(status)) { | 1132 | else if (ACPI_FAILURE(status)) { |
1134 | const char *msg = acpi_format_exception(status); | 1133 | const char *msg = acpi_format_exception(status); |
1135 | pr_err(ERST_PFX "Failed to get table, %s\n", msg); | 1134 | pr_err(ERST_PFX "Failed to get table, %s\n", msg); |
1136 | rc = -EINVAL; | 1135 | rc = -EINVAL; |