diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-13 23:05:04 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:19:29 -0500 |
commit | a64d01dcf8440846f3077a436344f99313c1396c (patch) | |
tree | 61314895c20912f3682c0999d474e9defe26663b /include/scsi | |
parent | cd37743fc978a14fee75a4e662582e15d16038a3 (diff) |
scsi: remove struct scsi_dh_devlist
All drivers now do their own matching, so there is no more need to expose
a device list as part of the interface.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_device.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 04cd5ad8289e..2601c97fd8b9 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -201,11 +201,6 @@ struct scsi_device { | |||
201 | unsigned long sdev_data[0]; | 201 | unsigned long sdev_data[0]; |
202 | } __attribute__((aligned(sizeof(unsigned long)))); | 202 | } __attribute__((aligned(sizeof(unsigned long)))); |
203 | 203 | ||
204 | struct scsi_dh_devlist { | ||
205 | char *vendor; | ||
206 | char *model; | ||
207 | }; | ||
208 | |||
209 | typedef void (*activate_complete)(void *, int); | 204 | typedef void (*activate_complete)(void *, int); |
210 | struct scsi_device_handler { | 205 | struct scsi_device_handler { |
211 | /* Used by the infrastructure */ | 206 | /* Used by the infrastructure */ |
@@ -214,7 +209,6 @@ struct scsi_device_handler { | |||
214 | /* Filled by the hardware handler */ | 209 | /* Filled by the hardware handler */ |
215 | struct module *module; | 210 | struct module *module; |
216 | const char *name; | 211 | const char *name; |
217 | const struct scsi_dh_devlist *devlist; | ||
218 | int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *); | 212 | int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *); |
219 | int (*attach)(struct scsi_device *); | 213 | int (*attach)(struct scsi_device *); |
220 | void (*detach)(struct scsi_device *); | 214 | void (*detach)(struct scsi_device *); |