[SCSI] iscsi class, iscsi drivers: remove unused iscsi_transport attrs
max_cmd_len and max_conn are not really used. max_cmd_len is always 16 and can be set by the LLD. max_conn is always one since we do not support MCS. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:

committed by
James Bottomley

parent
40753caa36
commit
d3826721b1
@@ -102,15 +102,11 @@ static DEVICE_ATTR(name, S_IRUGO, show_transport_##name, NULL);
|
||||
|
||||
show_transport_attr(caps, "0x%x");
|
||||
show_transport_attr(max_lun, "%d");
|
||||
show_transport_attr(max_conn, "%d");
|
||||
show_transport_attr(max_cmd_len, "%d");
|
||||
|
||||
static struct attribute *iscsi_transport_attrs[] = {
|
||||
&dev_attr_handle.attr,
|
||||
&dev_attr_caps.attr,
|
||||
&dev_attr_max_lun.attr,
|
||||
&dev_attr_max_conn.attr,
|
||||
&dev_attr_max_cmd_len.attr,
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user