提交 b5b81016 编写于 作者: M Mike Christie 提交者:

[SCSI] iscsi update: rm unused sessions list

rm unused sessions list.

This patch is last becuase I was not sure if this patchset was
going to be applied over the kmalloc2kzalloc one by JesS. If it
is then this patch will not apply and can be dropped for now. I will
resend later when things setttle down.
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NAlex Aizman <itn780@yahoo.com>
Signed-off-by: NDmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 28e5554d
...@@ -38,10 +38,6 @@ struct iscsi_internal { ...@@ -38,10 +38,6 @@ struct iscsi_internal {
struct scsi_transport_template t; struct scsi_transport_template t;
struct iscsi_transport *iscsi_transport; struct iscsi_transport *iscsi_transport;
struct list_head list; struct list_head list;
/*
* List of sessions for this transport
*/
struct list_head sessions;
/* /*
* based on transport capabilities, at register time we set these * based on transport capabilities, at register time we set these
* bits to tell the transport class it wants attributes displayed * bits to tell the transport class it wants attributes displayed
...@@ -1126,7 +1122,6 @@ iscsi_register_transport(struct iscsi_transport *tt) ...@@ -1126,7 +1122,6 @@ iscsi_register_transport(struct iscsi_transport *tt)
return NULL; return NULL;
memset(priv, 0, sizeof(*priv)); memset(priv, 0, sizeof(*priv));
INIT_LIST_HEAD(&priv->list); INIT_LIST_HEAD(&priv->list);
INIT_LIST_HEAD(&priv->sessions);
priv->iscsi_transport = tt; priv->iscsi_transport = tt;
priv->cdev.class = &iscsi_transport_class; priv->cdev.class = &iscsi_transport_class;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册