diff options
author | d binderman <dcb314@hotmail.com> | 2010-02-06 02:13:29 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-04-07 18:00:37 +1000 |
commit | 213972e9faf8a16b27fee01ae7c7071de5080268 (patch) | |
tree | 69291b2417d58e58e77d84ca88c6fe78536902b0 /drivers/macintosh | |
parent | 6237cdac5dd26d5ba81acf5daa737c8645614410 (diff) | |
download | blackbird-op-linux-213972e9faf8a16b27fee01ae7c7071de5080268.tar.gz blackbird-op-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')
0 files changed, 0 insertions, 0 deletions