ACPI / NUMA: remove duplicate NULL check
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 24 May 2016 22:35:33 +0000 (15:35 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 May 2016 12:27:07 +0000 (14:27 +0200)
commit258cb74ba5d16265b0e96225c06bc41cd53b9e61
tree3e5ccea1565b678594a432307542dbbec4123c19
parent3dda448189af1c55637628423487f607244fb669
ACPI / NUMA: remove duplicate NULL check

The argument "header" for acpi_table_print_srat_entry()
is always checked before the function is called, it's
duplicate to check it again, remove it.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa.c