aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-05-31 17:06:42 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 05:37:44 -0400
commitdc2e652d5f36d7b1c8764c3c3174e28ec2d9903b (patch)
tree08f87c10784efbffffe39384d1ee1e3c7c8094ed /drivers/target/tcm_fc
parenta1d8b49abd60ba5d09e7c968731abcb0f8f1cbf6 (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/tcm_fc')
-rw-r--r--drivers/target/tcm_fc/tcm_fc.h1
-rw-r--r--drivers/target/tcm_fc/tfc_cmd.c6
-rw-r--r--drivers/target/tcm_fc/tfc_conf.c1
3 files changed, 0 insertions, 8 deletions
diff --git a/drivers/target/tcm_fc/tcm_fc.h b/drivers/target/tcm_fc/tcm_fc.h
index 7b82f1b7fef8..8d26779e440c 100644
--- a/drivers/target/tcm_fc/tcm_fc.h
+++ b/drivers/target/tcm_fc/tcm_fc.h
@@ -195,7 +195,6 @@ int ft_write_pending(struct se_cmd *);
195int ft_write_pending_status(struct se_cmd *); 195int ft_write_pending_status(struct se_cmd *);
196u32 ft_get_task_tag(struct se_cmd *); 196u32 ft_get_task_tag(struct se_cmd *);
197int ft_get_cmd_state(struct se_cmd *); 197int ft_get_cmd_state(struct se_cmd *);
198void ft_new_cmd_failure(struct se_cmd *);
199int ft_queue_tm_resp(struct se_cmd *); 198int ft_queue_tm_resp(struct se_cmd *);
200int ft_is_state_remove(struct se_cmd *); 199int ft_is_state_remove(struct se_cmd *);
201 200
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
index 910306ce48de..9a3b486e1aad 100644
--- a/drivers/target/tcm_fc/tfc_cmd.c
+++ b/drivers/target/tcm_fc/tfc_cmd.c
@@ -292,12 +292,6 @@ int ft_is_state_remove(struct se_cmd *se_cmd)
292 return 0; /* XXX TBD */ 292 return 0; /* XXX TBD */
293} 293}
294 294
295void ft_new_cmd_failure(struct se_cmd *se_cmd)
296{
297 /* XXX TBD */
298 printk(KERN_INFO "%s: se_cmd %p\n", __func__, se_cmd);
299}
300
301/* 295/*
302 * FC sequence response handler for follow-on sequences (data) and aborts. 296 * FC sequence response handler for follow-on sequences (data) and aborts.
303 */ 297 */
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c
index 58e4745749db..20097728e8a0 100644
--- a/drivers/target/tcm_fc/tfc_conf.c
+++ b/drivers/target/tcm_fc/tfc_conf.c
@@ -550,7 +550,6 @@ static struct target_core_fabric_ops ft_fabric_ops = {
550 .set_default_node_attributes = ft_set_default_node_attr, 550 .set_default_node_attributes = ft_set_default_node_attr,
551 .get_task_tag = ft_get_task_tag, 551 .get_task_tag = ft_get_task_tag,
552 .get_cmd_state = ft_get_cmd_state, 552 .get_cmd_state = ft_get_cmd_state,
553 .new_cmd_failure = ft_new_cmd_failure,
554 .queue_data_in = ft_queue_data_in, 553 .queue_data_in = ft_queue_data_in,
555 .queue_status = ft_queue_status, 554 .queue_status = ft_queue_status,
556 .queue_tm_rsp = ft_queue_tm_resp, 555 .queue_tm_rsp = ft_queue_tm_resp,