From: Nicholas Bellinger Date: Wed, 14 Dec 2011 10:50:16 +0000 (+0000) Subject: target: Remove TFO->check_release_cmd() fabric API caller X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ec54cc081ead14e85736c6543e36ec59be8a7d3d;p=linux-beck.git target: Remove TFO->check_release_cmd() fabric API caller 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 Signed-off-by: Nicholas Bellinger --- diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index aaa26da5a527..523e8bc104d4 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h @@ -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.