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>
This commit is contained in:
Christoph Hellwig 2011-09-13 23:08:11 +02:00 committed by Nicholas Bellinger
parent 680b73c5f2
commit 31afc39c0c

View File

@ -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