PM / devfreq: remove redundant null pointer check before kfree
authorzhong jiang <zhongjiang@huawei.com>
Fri, 21 Sep 2018 13:18:43 +0000 (21:18 +0800)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 2 Oct 2018 01:16:41 +0000 (10:16 +0900)
commit8188b154f95014dae4d19892fefb202c8df3f885
tree55c96d8c5b4017b62a4102de010039406411b969
parent2f061fd0c2d852e32e03a903fccd810663c5c31e
PM / devfreq: remove redundant null pointer check before kfree

kfree has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c