]> 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)
commit0812fa60953bce05bdab89e75035bcc3eae2c580
tree9fc3e620fb69e7d2d7942d48da3502e4e2505672
parent4c6b4dfd3553ce46f534a7fdfbc20adfef1f583c
[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