]> git.karo-electronics.de Git - karo-tx-linux.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 16:35:56 +0000 (09:35 -0700)
commit8b613e1a3533fb58b96e26e3b2f9f3e01c749053
tree9fc3e620fb69e7d2d7942d48da3502e4e2505672
parent43d519763a8a4dcee858de87a6ab5f12fab4eaf3
[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