PM / Clocks: Remove redundant NULL checks before kfree()
authorJonghwan Choi <jhbird.choi@samsung.com>
Fri, 21 Oct 2011 22:22:54 +0000 (00:22 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 21 Oct 2011 22:22:54 +0000 (00:22 +0200)
commit0ab1e79b825a5cd8aeb3b34d89c9a89dea900056
treeb30ea644d376fa9e80d25933b2257d7adee1eeb2
parent7fef9fc83fbd7293ea9fe665d14046422ebf4219
PM / Clocks: Remove redundant NULL checks before kfree()

Since kfree() checks it its argument is not NULL, it is not necessary
to duplicate this check in __pm_clk_remove().

[rjw: Added the changelog.]

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/clock_ops.c