summaryrefslogtreecommitdiff
path: root/drivers/scsi/dpti.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-14 12:48:23 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-03-15 00:25:37 -0400
commit38e09e3bb056b90d70308fe1e3db387ef976ce6e (patch)
tree091239c7b46390b73c53b2f1aaacd86664713669 /drivers/scsi/dpti.h
parent6b1745caa14ae0afccf1c6ee4c814fd8d5df3dcd (diff)
scsi: dpt_i2o: stop using scsi_unregister
dpt_i2o doesn't use scsi_register, so it should not use scsi_unregister either. Also refactor the module exit path to make a little more sense. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dpti.h')
-rw-r--r--drivers/scsi/dpti.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/dpti.h b/drivers/scsi/dpti.h
index 1fa345ab8ecb..dfc8d2eaa09e 100644
--- a/drivers/scsi/dpti.h
+++ b/drivers/scsi/dpti.h
@@ -32,7 +32,6 @@ static int adpt_detect(struct scsi_host_template * sht);
static int adpt_queue(struct Scsi_Host *h, struct scsi_cmnd * cmd);
static int adpt_abort(struct scsi_cmnd * cmd);
static int adpt_reset(struct scsi_cmnd* cmd);
-static int adpt_release(struct Scsi_Host *host);
static int adpt_slave_configure(struct scsi_device *);
static const char *adpt_info(struct Scsi_Host *pSHost);