commit | 5a9df732b6a547aa843e8655044db9573d7b4e71 | [log] [tgz] |
---|---|---|
author | Adrian Bunk <bunk@kernel.org> | Tue Oct 16 23:29:26 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Oct 17 08:42:55 2007 -0700 |
tree | 0687553cb97d59eab96256e6785a980097e0c8df | |
parent | b012d346c0e914f505d92f730ad1758f73e2953b [diff] |
drivers/block/cciss.c: fix check-after-use The Coverity checker spotted that we have already oops'ed if "disk" was NULL. Since "disk" being NULL seems impossible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Mike Miller <mike.miller@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>