target: Remove unused ua_dev_list member in struct se_ua
authorAndy Grover <agrover@redhat.com>
Mon, 25 Nov 2013 19:56:09 +0000 (11:56 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 16 Dec 2013 20:39:04 +0000 (12:39 -0800)
Initialized but not used.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_ua.c
include/target/target_core_base.h

index b04467e..505519b 100644 (file)
@@ -98,7 +98,6 @@ int core_scsi3_ua_allocate(
                pr_err("Unable to allocate struct se_ua\n");
                return -ENOMEM;
        }
-       INIT_LIST_HEAD(&ua->ua_dev_list);
        INIT_LIST_HEAD(&ua->ua_nacl_list);
 
        ua->ua_nacl = nacl;
index 45412a6..d6f96c7 100644 (file)
@@ -504,7 +504,6 @@ struct se_ua {
        u8                      ua_asc;
        u8                      ua_ascq;
        struct se_node_acl      *ua_nacl;
-       struct list_head        ua_dev_list;
        struct list_head        ua_nacl_list;
 };