diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-05-21 16:53:57 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:15 -0400 |
commit | d3826721b198001c55353b1c54e10843068aae63 (patch) | |
tree | 7f2348a674da1f0d513c65d6225eea5f49ffff66 /drivers/scsi/iscsi_tcp.c | |
parent | 40753caa364bfba60ebd5e2a8bdf366ef175d03c (diff) |
[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>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 81c421a7d477..aecadbdce9df 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -1978,8 +1978,6 @@ static struct iscsi_transport iscsi_tcp_transport = { | |||
1978 | ISCSI_HOST_NETDEV_NAME, | 1978 | ISCSI_HOST_NETDEV_NAME, |
1979 | .host_template = &iscsi_sht, | 1979 | .host_template = &iscsi_sht, |
1980 | .conndata_size = sizeof(struct iscsi_conn), | 1980 | .conndata_size = sizeof(struct iscsi_conn), |
1981 | .max_conn = 1, | ||
1982 | .max_cmd_len = 16, | ||
1983 | /* session management */ | 1981 | /* session management */ |
1984 | .create_session = iscsi_tcp_session_create, | 1982 | .create_session = iscsi_tcp_session_create, |
1985 | .destroy_session = iscsi_tcp_session_destroy, | 1983 | .destroy_session = iscsi_tcp_session_destroy, |