diff options
author | Roland Dreier <roland@purestorage.com> | 2012-08-15 23:35:24 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-09-18 01:15:47 +0200 |
commit | 2ed772b7b9df0f459308b3cbececc0136076d09e (patch) | |
tree | 4f97f1cbdb889b921d48799c085e5142e5aa001b /drivers/target/target_core_configfs.c | |
parent | target/sbp: Remove strict param from sbp_parse_wwn (diff) | |
download | linux-2ed772b7b9df0f459308b3cbececc0136076d09e.tar.xz linux-2ed772b7b9df0f459308b3cbececc0136076d09e.zip |
target: Remove unused target_core_fabric_ops.get_fabric_sense_len method
There are no callers of se_tfo->get_fabric_sense_len(), so we should
stop having every fabric driver implement it.
Signed-off-by: Roland Dreier <roland@purestorage.com>
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 801efa892046..946d8e952b67 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c @@ -461,10 +461,6 @@ static int target_fabric_tf_ops_check( pr_err("Missing tfo->set_fabric_sense_len()\n"); return -EINVAL; } - if (!tfo->get_fabric_sense_len) { - pr_err("Missing tfo->get_fabric_sense_len()\n"); - return -EINVAL; - } /* * We at least require tfo->fabric_make_wwn(), tfo->fabric_drop_wwn() * tfo->fabric_make_tpg() and tfo->fabric_drop_tpg() in |