usb: gadget: f_tcm: remove redundant singleton
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Fri, 11 Dec 2015 15:06:24 +0000 (16:06 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 21 Dec 2015 03:40:41 +0000 (19:40 -0800)
commitc3f890bc79f12d12c2ccabe4bfc0c4a1e01b3184
tree1fc328161c1ef31f99b0ea382537bb3450d10d82
parente5587ea11e243abd2527e4a048e72ee7a885d1f1
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>
drivers/usb/gadget/function/f_tcm.c
drivers/usb/gadget/function/tcm.h