diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 16:05:20 +1100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-06 21:42:55 -0500 |
commit | e52bbd5ccf53d2a73e524adb26b6d8a4f810ccb4 (patch) | |
tree | 8661df0ae59be9448097a9fbe2c3d93dd37b7db5 /drivers/scsi/dtc.c | |
parent | 4d029e9ae9c382b149b16632f49970d8b215e2da (diff) |
ncr5380: Cleanup bogus {request,release}_region() calls
Commit 8b801ead3d7a ("[ARM] rpc: update Acorn SCSI drivers to modern ecard
interfaces") neglected to remove a request_region() call in cumana_1.c.
Commit eda32612f7b2 ("[PATCH] give all LLDD driver a ->release method") in
history/history.git added some pointless release_region() calls in dtc.c,
pas16.c and t128.c.
Fix these issues.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dtc.c')
-rw-r--r-- | drivers/scsi/dtc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index 02a5532f4267..698bea067af9 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c @@ -423,8 +423,6 @@ static int dtc_release(struct Scsi_Host *shost) if (shost->irq != NO_IRQ) free_irq(shost->irq, shost); NCR5380_exit(shost); - if (shost->io_port && shost->n_io_port) - release_region(shost->io_port, shost->n_io_port); scsi_unregister(shost); iounmap(hostdata->base); return 0; |