ACPI / table: remove duplicate NULL check for the handler of acpi_table_parse()
authorHanjun Guo <hanjun.guo@linaro.org>
Thu, 5 Feb 2015 09:33:14 +0000 (17:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 Feb 2015 00:34:47 +0000 (01:34 +0100)
commit2fad93083e288a7d24bf7284c87f0d80a5a2c599
treebf244bbd5cf4033bf07b5cce08562f1b4d779bd1
parente36f014edff70fc02b3d3d79cead1d58f289332e
ACPI / table: remove duplicate NULL check for the handler of acpi_table_parse()

In acpi_table_parse(), pointer of the table to pass to handler() is
checked before handler() called, so remove all the duplicate NULL
check in the handler function.

CC: Tony Luck <tony.luck@intel.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/ia64/kernel/acpi.c
arch/x86/kernel/acpi/boot.c
drivers/acpi/numa.c