summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/target/target_core_device.c1
-rw-r--r--include/target/target_core_base.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index 6403f44e6104..1f54b397bd57 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -767,7 +767,6 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name)
767 dev->prot_length = sizeof(struct t10_pi_tuple); 767 dev->prot_length = sizeof(struct t10_pi_tuple);
768 dev->hba_index = hba->hba_index; 768 dev->hba_index = hba->hba_index;
769 769
770 INIT_LIST_HEAD(&dev->dev_list);
771 INIT_LIST_HEAD(&dev->dev_sep_list); 770 INIT_LIST_HEAD(&dev->dev_sep_list);
772 INIT_LIST_HEAD(&dev->dev_tmr_list); 771 INIT_LIST_HEAD(&dev->dev_tmr_list);
773 INIT_LIST_HEAD(&dev->delayed_cmd_list); 772 INIT_LIST_HEAD(&dev->delayed_cmd_list);
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index f835528e424e..a3af69fcf75e 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -816,8 +816,6 @@ struct se_device {
816 unsigned char udev_path[SE_UDEV_PATH_LEN]; 816 unsigned char udev_path[SE_UDEV_PATH_LEN];
817 /* Pointer to template of function pointers for transport */ 817 /* Pointer to template of function pointers for transport */
818 const struct target_backend_ops *transport; 818 const struct target_backend_ops *transport;
819 /* Linked list for struct se_hba struct se_device list */
820 struct list_head dev_list;
821 struct se_lun xcopy_lun; 819 struct se_lun xcopy_lun;
822 /* Protection Information */ 820 /* Protection Information */
823 int prot_length; 821 int prot_length;