]> git.baikalelectronics.ru Git - kernel.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)
commit64965c5ab10d29b2be99a8ce4dcd5fb26b3e142e
tree9fc3e620fb69e7d2d7942d48da3502e4e2505672
parenta6385f5101aa122e5ad2f6f39dc51729ae063505
[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