]> rtime.felk.cvut.cz Git - linux-imx.git/commit
[SCSI] pm80xx: remove unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 May 2013 12:48:13 +0000 (15:48 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 4 Jun 2013 18:16:18 +0000 (11:16 -0700)
commit808cbb68de49b8d9d72f9bdf28251c8a87c96f39
tree9fc3e620fb69e7d2d7942d48da3502e4e2505672
parente73823f7a2c921dcf068d34ea03bd682498d9e42
[SCSI] pm80xx: remove unneeded NULL check

Coccinelle complains about the inconsistent NULL checking on "t".  It
turns out the check isn't needed because we verified that "t" is
non-NULL at the start of the function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_hwi.c