]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 b04467e7547c97817e611e2341568bd7a592a1e1..505519b10cb75bdb1e7e4c204e89f7c570500821 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 45412a6afa69d95ea82c820fb197d350c9d0575e..d6f96c735309554dac647c4e3ba9f5e3a576eda7 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;
 };