summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/legacy/tcm_usb_gadget.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-05-01 18:47:58 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-31 08:42:30 +0300
commit2650d71e244fb3637b5f58a0080682a8bf9c7091 (patch)
tree8fe28878d010df59f9b13b69b1e994270054218f /drivers/usb/gadget/legacy/tcm_usb_gadget.h
parent2aeeafae6bb9f04dbe17b521bcd8f0d03516c393 (diff)
downloadlinux-2650d71e244fb3637b5f58a0080682a8bf9c7091.tar.xz
target: move transport ID handling to the core
Now that struct se_portal_group contains a protocol identifier field we can take all the code to format an parse protocol identifiers in CDBs into common code instead of leaving this to low-level drivers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/usb/gadget/legacy/tcm_usb_gadget.h')
-rw-r--r--drivers/usb/gadget/legacy/tcm_usb_gadget.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/legacy/tcm_usb_gadget.h b/drivers/usb/gadget/legacy/tcm_usb_gadget.h
index b254aec521da..4c1c22a964b4 100644
--- a/drivers/usb/gadget/legacy/tcm_usb_gadget.h
+++ b/drivers/usb/gadget/legacy/tcm_usb_gadget.h
@@ -44,8 +44,6 @@ struct usbg_tpg {
};
struct usbg_tport {
- /* SCSI protocol the tport is providing */
- u8 tport_proto_id;
/* Binary World Wide unique Port Name for SAS Target port */
u64 tport_wwpn;
/* ASCII formatted WWPN for SAS Target port */