summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_transport.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-04-25 15:04:02 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2013-05-03 16:42:18 -0700
commit2acd09f3232825a0e95134703ec59bc327ef9967 (patch)
tree07f088664c87305c97079812ac052978cb7045ce /drivers/target/target_core_transport.c
parentb8d26b3be8b33682cf163274ed07479a70554633 (diff)
target: Remove unused struct members in se_dev_entry
Some were incremented, but never used anywhere from what I could tell. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_transport.c')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index f8388b4024aa..c3477fa60942 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -2163,8 +2163,6 @@ void transport_generic_free_cmd(struct se_cmd *cmd, int wait_for_tasks)
if (wait_for_tasks)
transport_wait_for_tasks(cmd);
- core_dec_lacl_count(cmd->se_sess->se_node_acl, cmd);
-
if (cmd->se_lun)
transport_lun_remove_cmd(cmd);