summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-10-12 16:35:58 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-16 21:45:59 -0400
commita47c6b713e89eef9e26ef9b17944fc807510bf3c (patch)
tree84af764a0fa0ffeda8785b948858645fe034030e /include/scsi/scsi_device.h
parent01e570febaaafd74d6625476e2665238c5e47e1e (diff)
downloadlinux-a47c6b713e89eef9e26ef9b17944fc807510bf3c.tar.gz
linux-a47c6b713e89eef9e26ef9b17944fc807510bf3c.tar.bz2
linux-a47c6b713e89eef9e26ef9b17944fc807510bf3c.zip
scsi: core: Remove two host template members that are no longer used
All SCSI drivers have been converted to use shost_groups and sdev_groups instead of shost_attrs or sdev_attrs. Hence remove shost_attrs and sdev_attrs. Additionally, remove the 'lld_attr_group' members and also the scsi_convert_dev_attrs() function. Link: https://lore.kernel.org/r/20211012233558.4066756-47-bvanassche@acm.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-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 01732aabd7c3..b1e9b3bd3a60 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -225,7 +225,6 @@ struct scsi_device {
struct device sdev_gendev,
sdev_dev;
- struct attribute_group lld_attr_group;
/*
* The array size 6 provides space for one attribute group for the
* SCSI core, four attribute groups defined by SCSI LLDs and one