target: Remove TFO->check_release_cmd() fabric API caller
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 10:50:16 +0000 (10:50 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 11:42:11 +0000 (11:42 +0000)
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>
include/target/target_core_fabric.h

index aaa26da5a527fe84bd68de9a6395af1d4262a8d3..523e8bc104d40e2bbe40c0adbe7210156f796214 100644 (file)
@@ -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.