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/target_core_configfs.c | |
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/target_core_configfs.c')
-rw-r--r-- | drivers/target/target_core_configfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c index ac7f7655570e..aac0ee993b90 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c | |||
@@ -479,10 +479,6 @@ static int target_fabric_tf_ops_check( | |||
479 | printk(KERN_ERR "Missing tfo->get_cmd_state()\n"); | 479 | printk(KERN_ERR "Missing tfo->get_cmd_state()\n"); |
480 | return -EINVAL; | 480 | return -EINVAL; |
481 | } | 481 | } |
482 | if (!(tfo->new_cmd_failure)) { | ||
483 | printk(KERN_ERR "Missing tfo->new_cmd_failure()\n"); | ||
484 | return -EINVAL; | ||
485 | } | ||
486 | if (!(tfo->queue_data_in)) { | 482 | if (!(tfo->queue_data_in)) { |
487 | printk(KERN_ERR "Missing tfo->queue_data_in()\n"); | 483 | printk(KERN_ERR "Missing tfo->queue_data_in()\n"); |
488 | return -EINVAL; | 484 | return -EINVAL; |