diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-05-31 17:06:42 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-07-22 05:37:44 -0400 |
commit | dc2e652d5f36d7b1c8764c3c3174e28ec2d9903b (patch) | |
tree | 08f87c10784efbffffe39384d1ee1e3c7c8094ed /drivers/target/loopback | |
parent | a1d8b49abd60ba5d09e7c968731abcb0f8f1cbf6 (diff) |
target: remove the always-noop ->new_cmd_failure method
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback')
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 7ba2542aabe7..cb4a9b906a4b 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -772,16 +772,6 @@ static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) | |||
772 | return 1; | 772 | return 1; |
773 | } | 773 | } |
774 | 774 | ||
775 | static void tcm_loop_new_cmd_failure(struct se_cmd *se_cmd) | ||
776 | { | ||
777 | /* | ||
778 | * Since TCM_loop is already passing struct scatterlist data from | ||
779 | * struct scsi_cmnd, no more Linux/SCSI failure dependent state need | ||
780 | * to be handled here. | ||
781 | */ | ||
782 | return; | ||
783 | } | ||
784 | |||
785 | static int tcm_loop_is_state_remove(struct se_cmd *se_cmd) | 775 | static int tcm_loop_is_state_remove(struct se_cmd *se_cmd) |
786 | { | 776 | { |
787 | /* | 777 | /* |
@@ -1446,7 +1436,6 @@ static int tcm_loop_register_configfs(void) | |||
1446 | &tcm_loop_set_default_node_attributes; | 1436 | &tcm_loop_set_default_node_attributes; |
1447 | fabric->tf_ops.get_task_tag = &tcm_loop_get_task_tag; | 1437 | fabric->tf_ops.get_task_tag = &tcm_loop_get_task_tag; |
1448 | fabric->tf_ops.get_cmd_state = &tcm_loop_get_cmd_state; | 1438 | fabric->tf_ops.get_cmd_state = &tcm_loop_get_cmd_state; |
1449 | fabric->tf_ops.new_cmd_failure = &tcm_loop_new_cmd_failure; | ||
1450 | fabric->tf_ops.queue_data_in = &tcm_loop_queue_data_in; | 1439 | fabric->tf_ops.queue_data_in = &tcm_loop_queue_data_in; |
1451 | fabric->tf_ops.queue_status = &tcm_loop_queue_status; | 1440 | fabric->tf_ops.queue_status = &tcm_loop_queue_status; |
1452 | fabric->tf_ops.queue_tm_rsp = &tcm_loop_queue_tm_rsp; | 1441 | fabric->tf_ops.queue_tm_rsp = &tcm_loop_queue_tm_rsp; |