summaryrefslogtreecommitdiff
path: root/fs/ramfs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-16 23:29:26 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:55 -0700
commit5a9df732b6a547aa843e8655044db9573d7b4e71 (patch)
tree0687553cb97d59eab96256e6785a980097e0c8df /fs/ramfs
parentb012d346c0e914f505d92f730ad1758f73e2953b (diff)
downloadlwn-5a9df732b6a547aa843e8655044db9573d7b4e71.tar.gz
lwn-5a9df732b6a547aa843e8655044db9573d7b4e71.zip
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>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions