diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-13 22:59:51 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:19:25 -0500 |
commit | cd37743fc978a14fee75a4e662582e15d16038a3 (patch) | |
tree | 7b050076efb8a9dbf263ce593f30823445fb672a /include/scsi | |
parent | 27c888f0bb889693c6a3b6d39eba3265c16c072f (diff) |
scsi: use container_of to get at device handler private data
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 0b18a097c1ba..04cd5ad8289e 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -228,7 +228,6 @@ struct scsi_dh_data { | |||
228 | struct scsi_device_handler *scsi_dh; | 228 | struct scsi_device_handler *scsi_dh; |
229 | struct scsi_device *sdev; | 229 | struct scsi_device *sdev; |
230 | struct kref kref; | 230 | struct kref kref; |
231 | char buf[0]; | ||
232 | }; | 231 | }; |
233 | 232 | ||
234 | #define to_scsi_device(d) \ | 233 | #define to_scsi_device(d) \ |