From: Adrian Bunk Date: Sat, 25 Mar 2006 11:07:51 +0000 (-0800) Subject: [PATCH] md/bitmap.c:bitmap_mask_state(): fix inconsequent NULL checking X-Git-Tag: v2.6.17-rc1~783 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e3176555003a45318010d9820eb5ad1abb596bf;p=pandora-kernel.git [PATCH] md/bitmap.c:bitmap_mask_state(): fix inconsequent NULL checking We dereference bitmap both one line above and one line below this check rendering this check quite useless. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk Cc: Alasdair G Kergon Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed