mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
scsi: ibmvscsi_tgt: remove use of class_attrs
The class_attrs pointer is going away and it's not even being used in this driver, so just remove it entirely. Acked-by: "Bryant G. Ly" <[email protected]> Cc: Michael Cyr <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: "Martin K. Petersen" <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
84c317ea07
commit
f62014fcb9
1 changed files with 0 additions and 5 deletions
|
|
@ -3915,10 +3915,6 @@ static const struct target_core_fabric_ops ibmvscsis_ops = {
|
|||
|
||||
static void ibmvscsis_dev_release(struct device *dev) {};
|
||||
|
||||
static struct class_attribute ibmvscsis_class_attrs[] = {
|
||||
__ATTR_NULL,
|
||||
};
|
||||
|
||||
static struct device_attribute dev_attr_system_id =
|
||||
__ATTR(system_id, S_IRUGO, system_id_show, NULL);
|
||||
|
||||
|
|
@ -3938,7 +3934,6 @@ ATTRIBUTE_GROUPS(ibmvscsis_dev);
|
|||
static struct class ibmvscsis_class = {
|
||||
.name = "ibmvscsis",
|
||||
.dev_release = ibmvscsis_dev_release,
|
||||
.class_attrs = ibmvscsis_class_attrs,
|
||||
.dev_groups = ibmvscsis_dev_groups,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue