]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/target/target_core_ua.c
target: Fix missing length check in spc_emulate_evpd_83()
[karo-tx-linux.git] / drivers / target / target_core_ua.c
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;