aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_device.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-29 03:29:59 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-06 06:00:57 +0000
commit6f21475576dde397cd2580262209d4080fbd5458 (patch)
tree2fa1831eaec0722b2e48278e447a3aa57b52a9fc /drivers/target/target_core_device.c
parenttarget/file: walk properly over sg list (diff)
downloadlinux-dev-6f21475576dde397cd2580262209d4080fbd5458.tar.xz
linux-dev-6f21475576dde397cd2580262209d4080fbd5458.zip
target: remove the unused se_dev_list
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
-rw-r--r--drivers/target/target_core_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index dd5adb82e3df..e2be1f510da8 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -1584,7 +1584,6 @@ int core_dev_setup_virtual_lun0(void)
ret = -ENOMEM;
goto out;
}
- INIT_LIST_HEAD(&se_dev->se_dev_node);
INIT_LIST_HEAD(&se_dev->t10_wwn.t10_vpd_list);
spin_lock_init(&se_dev->t10_wwn.t10_vpd_lock);
INIT_LIST_HEAD(&se_dev->t10_pr.registration_list);