summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/tcm.h
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2015-12-11 16:06:24 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-12-20 19:40:41 -0800
commitc3f890bc79f12d12c2ccabe4bfc0c4a1e01b3184 (patch)
tree1fc328161c1ef31f99b0ea382537bb3450d10d82 /drivers/usb/gadget/function/tcm.h
parente5587ea11e243abd2527e4a048e72ee7a885d1f1 (diff)
downloadop-kernel-dev-c3f890bc79f12d12c2ccabe4bfc0c4a1e01b3184.zip
op-kernel-dev-c3f890bc79f12d12c2ccabe4bfc0c4a1e01b3184.tar.gz
usb: gadget: f_tcm: remove redundant singleton
The only instance is guaranteed with TPG_INSTANCES defined to 1. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/usb/gadget/function/tcm.h')
-rw-r--r--drivers/usb/gadget/function/tcm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/tcm.h b/drivers/usb/gadget/function/tcm.h
index 0b8ff6d..b75c6f3 100644
--- a/drivers/usb/gadget/function/tcm.h
+++ b/drivers/usb/gadget/function/tcm.h
@@ -129,6 +129,4 @@ struct f_uas {
struct usb_request *bot_req_out;
};
-extern struct usbg_tpg *the_only_tpg_I_currently_have;
-
#endif /* __TARGET_USB_GADGET_H__ */
OpenPOWER on IntegriCloud