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>
This commit is contained in:
parent
3dda448189
commit
258cb74ba5
1 changed files with 0 additions and 3 deletions
|
@ -125,9 +125,6 @@ EXPORT_SYMBOL(acpi_map_pxm_to_online_node);
|
|||
static void __init
|
||||
acpi_table_print_srat_entry(struct acpi_subtable_header *header)
|
||||
{
|
||||
if (!header)
|
||||
return;
|
||||
|
||||
switch (header->type) {
|
||||
case ACPI_SRAT_TYPE_CPU_AFFINITY:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue