[2.6 patch] drivers/scsi/imm.c: fix check-after-use

2007-08-27 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if "cmd" was NULL. Since "cmd" being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 31 Jul 2007 ---

[2.6 patch] drivers/scsi/imm.c: fix check-after-use

2007-08-27 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if cmd was NULL. Since cmd being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 31 Jul 2007 ---

[2.6 patch] drivers/scsi/imm.c: fix check-after-use

2007-07-30 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if "cmd" was NULL. Since "cmd" being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/scsi/imm.c.old 2007-07-30

[2.6 patch] drivers/scsi/imm.c: fix check-after-use

2007-07-30 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if cmd was NULL. Since cmd being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/scsi/imm.c.old 2007-07-30