aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-11-25 14:56:09 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2013-12-16 15:39:04 -0500
commit38becbeadfc9318867d98c9d792b40997d5cb264 (patch)
treedc421fb217a1af3aae35ae86d73be296b8f506d4
parent374b105797c3d4f29c685f3be535c35f5689b30e (diff)
target: Remove unused ua_dev_list member in struct se_ua
Initialized but not used. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r--drivers/target/target_core_ua.c1
-rw-r--r--include/target/target_core_base.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_ua.c b/drivers/target/target_core_ua.c
index b04467e7547c..505519b10cb7 100644
--- a/drivers/target/target_core_ua.c
+++ b/drivers/target/target_core_ua.c
@@ -98,7 +98,6 @@ int core_scsi3_ua_allocate(
98 pr_err("Unable to allocate struct se_ua\n"); 98 pr_err("Unable to allocate struct se_ua\n");
99 return -ENOMEM; 99 return -ENOMEM;
100 } 100 }
101 INIT_LIST_HEAD(&ua->ua_dev_list);
102 INIT_LIST_HEAD(&ua->ua_nacl_list); 101 INIT_LIST_HEAD(&ua->ua_nacl_list);
103 102
104 ua->ua_nacl = nacl; 103 ua->ua_nacl = nacl;
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 45412a6afa69..d6f96c735309 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -504,7 +504,6 @@ struct se_ua {
504 u8 ua_asc; 504 u8 ua_asc;
505 u8 ua_ascq; 505 u8 ua_ascq;
506 struct se_node_acl *ua_nacl; 506 struct se_node_acl *ua_nacl;
507 struct list_head ua_dev_list;
508 struct list_head ua_nacl_list; 507 struct list_head ua_nacl_list;
509}; 508};
510 509