projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301b01a
)
[SCSI] dpt_i2o: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Tue, 27 Mar 2007 05:59:25 +0000
(21:59 -0800)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sun, 1 Apr 2007 15:12:51 +0000
(10:12 -0500)
The Coverity checker spotted this dead code introduced by
commit
a07f353701acae77e023f6270e8af353b37af7c4
.
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>
drivers/scsi/dpt_i2o.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/dpt_i2o.c
b/drivers/scsi/dpt_i2o.c
index cd36e81b2d9348223847dea27dd37c61cf6b7dd0..f7b9dbd64a96ee1ae0af28d786a12c1f7ef09574 100644
(file)
--- a/
drivers/scsi/dpt_i2o.c
+++ b/
drivers/scsi/dpt_i2o.c
@@
-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) {