From: d binderman Date: Sat, 6 Feb 2010 02:13:29 +0000 (+0000) Subject: powerpc/pmac/low_i2c.c: three minor problems X-Git-Tag: v2.6.35-rc1~450^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213972e9faf8a16b27fee01ae7c7071de5080268;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed