diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 55860d26f999..71e54a64adca 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c | |||
@@ -39,10 +39,6 @@ struct iscsi_internal { | |||
39 | struct iscsi_transport *iscsi_transport; | 39 | struct iscsi_transport *iscsi_transport; |
40 | struct list_head list; | 40 | struct list_head list; |
41 | /* | 41 | /* |
42 | * List of sessions for this transport | ||
43 | */ | ||
44 | struct list_head sessions; | ||
45 | /* | ||
46 | * based on transport capabilities, at register time we set these | 42 | * based on transport capabilities, at register time we set these |
47 | * bits to tell the transport class it wants attributes displayed | 43 | * bits to tell the transport class it wants attributes displayed |
48 | * in sysfs or that it can support different iSCSI Data-Path | 44 | * in sysfs or that it can support different iSCSI Data-Path |
@@ -1126,7 +1122,6 @@ iscsi_register_transport(struct iscsi_transport *tt) | |||
1126 | return NULL; | 1122 | return NULL; |
1127 | memset(priv, 0, sizeof(*priv)); | 1123 | memset(priv, 0, sizeof(*priv)); |
1128 | INIT_LIST_HEAD(&priv->list); | 1124 | INIT_LIST_HEAD(&priv->list); |
1129 | INIT_LIST_HEAD(&priv->sessions); | ||
1130 | priv->iscsi_transport = tt; | 1125 | priv->iscsi_transport = tt; |
1131 | 1126 | ||
1132 | priv->cdev.class = &iscsi_transport_class; | 1127 | priv->cdev.class = &iscsi_transport_class; |