powerpc/pmac/windfarm: Don't test pointers before kfree()
authord binderman <dcb314@hotmail.com>
Thu, 18 Mar 2010 23:01:42 +0000 (23:01 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Apr 2010 08:00:38 +0000 (18:00 +1000)
commit6d1bdd2afbed74b3adcf3a7aec49e430eeb6c5f3
tree051d1706de2a7e25fbd913ae67fe8150ff708f00
parent213972e9faf8a16b27fee01ae7c7071de5080268
powerpc/pmac/windfarm: Don't test pointers before kfree()

Fix minor nits found by cppcheck

[./macintosh/windfarm_pm81.c:760]: (style) Redundant condition. It is safe to deallocate a NULL pointer
[./macintosh/windfarm_pm81.c:762]: (style) Redundant condition. It is safe to deallocate a NULL pointer

Signed-off-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/windfarm_pm81.c