You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Nicholas Bellinger
parent
343d475d61
commit
2ed772b7b9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user