diff options
Diffstat (limited to 'drivers/scsi/wd7000.c')
-rw-r--r-- | drivers/scsi/wd7000.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c index 2f6e9d8eaf71..333580bf37c5 100644 --- a/drivers/scsi/wd7000.c +++ b/drivers/scsi/wd7000.c | |||
@@ -171,7 +171,6 @@ | |||
171 | #include <linux/kernel.h> | 171 | #include <linux/kernel.h> |
172 | #include <linux/types.h> | 172 | #include <linux/types.h> |
173 | #include <linux/string.h> | 173 | #include <linux/string.h> |
174 | #include <linux/slab.h> | ||
175 | #include <linux/spinlock.h> | 174 | #include <linux/spinlock.h> |
176 | #include <linux/ioport.h> | 175 | #include <linux/ioport.h> |
177 | #include <linux/proc_fs.h> | 176 | #include <linux/proc_fs.h> |
@@ -1588,7 +1587,7 @@ static int wd7000_host_reset(struct scsi_cmnd *SCpnt) | |||
1588 | { | 1587 | { |
1589 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; | 1588 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; |
1590 | 1589 | ||
1591 | spin_unlock_irq(SCpnt->device->host->host_lock); | 1590 | spin_lock_irq(SCpnt->device->host->host_lock); |
1592 | 1591 | ||
1593 | if (wd7000_adapter_reset(host) < 0) { | 1592 | if (wd7000_adapter_reset(host) < 0) { |
1594 | spin_unlock_irq(SCpnt->device->host->host_lock); | 1593 | spin_unlock_irq(SCpnt->device->host->host_lock); |