aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-08-15 17:35:24 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-09-17 19:15:47 -0400
commit2ed772b7b9df0f459308b3cbececc0136076d09e (patch)
tree4f97f1cbdb889b921d48799c085e5142e5aa001b /drivers/usb/gadget
parent343d475d6176fa081918fcbf3fcb0b0143e28661 (diff)
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/usb/gadget')
-rw-r--r--drivers/usb/gadget/tcm_usb_gadget.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/gadget/tcm_usb_gadget.c b/drivers/usb/gadget/tcm_usb_gadget.c
index 5444866e13ef..b7ac43b08851 100644
--- a/drivers/usb/gadget/tcm_usb_gadget.c
+++ b/drivers/usb/gadget/tcm_usb_gadget.c
@@ -1480,11 +1480,6 @@ static u16 usbg_set_fabric_sense_len(struct se_cmd *se_cmd, u32 sense_length)
1480 return 0; 1480 return 0;
1481} 1481}
1482 1482
1483static u16 usbg_get_fabric_sense_len(void)
1484{
1485 return 0;
1486}
1487
1488static const char *usbg_check_wwn(const char *name) 1483static const char *usbg_check_wwn(const char *name)
1489{ 1484{
1490 const char *n; 1485 const char *n;
@@ -1910,7 +1905,6 @@ static struct target_core_fabric_ops usbg_ops = {
1910 .queue_data_in = usbg_send_read_response, 1905 .queue_data_in = usbg_send_read_response,
1911 .queue_status = usbg_send_status_response, 1906 .queue_status = usbg_send_status_response,
1912 .queue_tm_rsp = usbg_queue_tm_rsp, 1907 .queue_tm_rsp = usbg_queue_tm_rsp,
1913 .get_fabric_sense_len = usbg_get_fabric_sense_len,
1914 .set_fabric_sense_len = usbg_set_fabric_sense_len, 1908 .set_fabric_sense_len = usbg_set_fabric_sense_len,
1915 .check_stop_free = usbg_check_stop_free, 1909 .check_stop_free = usbg_check_stop_free,
1916 1910