ACPI / APEI: Remove spurious GHES_TO_CLEAR check
authorJames Morse <james.morse@arm.com>
Tue, 29 Jan 2019 18:48:43 +0000 (18:48 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 22:10:45 +0000 (23:10 +0100)
commit7d49f2c75af22f980fd716a13634a16cfb7dd8a7
treea7ba1a6665a4488d53c3aaa699520bd2d72104c1
parenteeb2555779471abdbcc6289a52dc54ce513feaf2
ACPI / APEI: Remove spurious GHES_TO_CLEAR check

ghes_notify_nmi() checks ghes->flags for GHES_TO_CLEAR before going
on to __process_error(). This is pointless as ghes_read_estatus()
will always set this flag if it returns success, which was checked
earlier in the loop. Remove it.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/ghes.c