summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-14 06:59:51 +0400
committerChristoph Hellwig <hch@lst.de>2014-11-12 13:19:25 +0300
commitcd37743fc978a14fee75a4e662582e15d16038a3 (patch)
tree7b050076efb8a9dbf263ce593f30823445fb672a /include/scsi
parent27c888f0bb889693c6a3b6d39eba3265c16c072f (diff)
downloadlinux-cd37743fc978a14fee75a4e662582e15d16038a3.tar.xz
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.h1
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 {
struct scsi_device_handler *scsi_dh;
struct scsi_device *sdev;
struct kref kref;
- char buf[0];
};
#define to_scsi_device(d) \