]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / processor: Remove redundant NULL check before kfree
authorSyam Sidhardhan <syamsidhardh@gmail.com>
Sun, 24 Feb 2013 23:12:53 +0000 (23:12 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 3 Mar 2013 21:29:08 +0000 (22:29 +0100)
commitb66b5600825fffa0731d72ec4fe70add1e2817aa
treecad4d142eae48a70c8d47100f3f837c40d912821
parent204a501c18ec8675e669953a5cb452b7ac9e55a9
ACPI / processor: Remove redundant NULL check before kfree

kfree() on a NULL pointer is a no-op, so remove a redundant NULL
pointer check in map_mat_entry().

[rjw: Changelog]
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_core.c