aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authord binderman <dcb314@hotmail.com>2010-02-06 02:13:29 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-04-07 18:00:37 +1000
commit213972e9faf8a16b27fee01ae7c7071de5080268 (patch)
tree69291b2417d58e58e77d84ca88c6fe78536902b0 /drivers/macintosh
parentpowerpc/aoa: gpio-pmf.c: 3 * redundant code (diff)
downloadlinux-dev-213972e9faf8a16b27fee01ae7c7071de5080268.tar.xz
linux-dev-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')
0 files changed, 0 insertions, 0 deletions