summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-09-13 21:08:11 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:20:29 (GMT)
commit31afc39c0c93edec5a117371f1bd2a264cceafac (patch)
tree3dcf6671507fa2ffcb9f7df6b0820adcc04c247a /drivers
parent680b73c5f2fb60336707b53b2b2792d2c01b69dc (diff)
downloadlinux-31afc39c0c93edec5a117371f1bd2a264cceafac.tar.xz
target: don't opencode transport_release_cmd in transport_release_fe_cmd
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/target/target_core_transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index f0f21bb..0c1d004 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -3794,8 +3794,7 @@ static void transport_release_fe_cmd(struct se_cmd *cmd)
transport_release_tasks(cmd);
free_pages:
transport_free_pages(cmd);
- transport_free_se_cmd(cmd);
- cmd->se_tfo->release_cmd(cmd);
+ transport_release_cmd(cmd);
}
static int