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:

zatwierdzone przez
Nicholas Bellinger

rodzic
343d475d61
commit
2ed772b7b9
@@ -336,11 +336,6 @@ static u16 tcm_vhost_set_fabric_sense_len(struct se_cmd *se_cmd,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u16 tcm_vhost_get_fabric_sense_len(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void vhost_scsi_free_cmd(struct tcm_vhost_cmd *tv_cmd)
|
||||
{
|
||||
struct se_cmd *se_cmd = &tv_cmd->tvc_se_cmd;
|
||||
@@ -1531,7 +1526,6 @@ static struct target_core_fabric_ops tcm_vhost_ops = {
|
||||
.queue_data_in = tcm_vhost_queue_data_in,
|
||||
.queue_status = tcm_vhost_queue_status,
|
||||
.queue_tm_rsp = tcm_vhost_queue_tm_rsp,
|
||||
.get_fabric_sense_len = tcm_vhost_get_fabric_sense_len,
|
||||
.set_fabric_sense_len = tcm_vhost_set_fabric_sense_len,
|
||||
/*
|
||||
* Setup callers for generic logic in target_core_fabric_configfs.c
|
||||
|
Reference in New Issue
Block a user