summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_pm81.c
diff options
context:
space:
mode:
authord binderman2010-02-06 03:13:29 +0100
committerBenjamin Herrenschmidt2010-04-07 10:00:37 +0200
commit213972e9faf8a16b27fee01ae7c7071de5080268 (patch)
tree69291b2417d58e58e77d84ca88c6fe78536902b0 /drivers/macintosh/windfarm_pm81.c
parentpowerpc/aoa: gpio-pmf.c: 3 * redundant code (diff)
downloadkernel-qcow2-linux-213972e9faf8a16b27fee01ae7c7071de5080268.tar.gz
kernel-qcow2-linux-213972e9faf8a16b27fee01ae7c7071de5080268.tar.xz
kernel-qcow2-linux-213972e9faf8a16b27fee01ae7c7071de5080268.zip
powerpc/pmac/low_i2c.c: three minor problems
Fix minor nits found by cppcheck [./arch/powerpc/platforms/powermac/low_i2c.c:594]: (style) The scope of the variable chans can be reduced [./arch/powerpc/platforms/powermac/low_i2c.c:594]: (style) The scope of the variable i can be reduced [./arch/powerpc/platforms/powermac/low_i2c.c:1260]: (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>
Diffstat (limited to 'drivers/macintosh/windfarm_pm81.c')
0 files changed, 0 insertions, 0 deletions