Skip to content

Commit

Permalink
target: don't opencode transport_release_cmd in transport_release_fe_cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Christoph Hellwig authored and Nicholas Bellinger committed Oct 24, 2011
1 parent 680b73c commit 31afc39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31afc39

Please sign in to comment.