Skip to content

Commit

Permalink
[SCSI] dpt_i2o: remove dead code
Browse files Browse the repository at this point in the history
The Coverity checker spotted this dead code introduced by
commit a07f353.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Adrian Bunk authored and James Bottomley committed Apr 1, 2007
1 parent 301b01a commit 3cfff0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/dpt_i2o.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ static int adpt_detect(struct scsi_host_template* sht)
pci_dev_get(pDev);
}
}
if (pDev)
pci_dev_put(pDev);

/* In INIT state, Activate IOPs */
for (pHba = hba_chain; pHba; pHba = pHba->next) {
Expand Down

0 comments on commit 3cfff0f

Please sign in to comment.