diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-16 23:29:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:42:55 -0700 |
commit | 5a9df732b6a547aa843e8655044db9573d7b4e71 (patch) | |
tree | 0687553cb97d59eab96256e6785a980097e0c8df /fs/ramfs | |
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>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions