Skip to content

Commit

Permalink
target: Remove TFO->check_release_cmd() fabric API caller
Browse files Browse the repository at this point in the history
Remove the now unused target_core_fabric_ops->check_release_cmd() as
target_core handles this directly for se_cmd->cmd_kref objects now.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Nicholas Bellinger committed Dec 14, 2011
1 parent 4355a91 commit ec54cc0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/target/target_core_fabric.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ struct target_core_fabric_ops {
* Returning 0 will signal a descriptor has not been released.
*/
int (*check_stop_free)(struct se_cmd *);
/*
* Optional check for active I/O shutdown
*/
int (*check_release_cmd)(struct se_cmd *);
void (*release_cmd)(struct se_cmd *);
/*
* Called with spin_lock_bh(struct se_portal_group->session_lock held.
Expand Down

0 comments on commit ec54cc0

Please sign in to comment.