diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-14 17:20:04 +0300 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 15:55:38 +0100 |
commit | ed262c4f5cb8291668c27c88a022bd7628f067a4 (patch) | |
tree | a86fd8198b0fae7f2ca2a83b172a1f5b5c94970b /drivers/block/brd.c | |
parent | 456d9fc92eb8635d53e8facc57764464b8759173 (diff) | |
download | blackbird-op-linux-ed262c4f5cb8291668c27c88a022bd7628f067a4.tar.gz blackbird-op-linux-ed262c4f5cb8291668c27c88a022bd7628f067a4.zip |
[MTD] cmdlinepart.c: don't compare pointers with 0
Sparse spotted that 0 was compared to pointers.
While I was at it, I also moved the assignments out of the if's.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions