summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/dummy_hcd.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-06-16 20:37:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 14:31:08 -0700
commit4baa74fe32f330d464d59a00d01980fd16a15ecc (patch)
treeca94f0dac9e1ec0bb390944e920b4cdd53e588cd /drivers/usb/gadget/dummy_hcd.c
parentd8a14a85c72faf1bdcbbc12255361aaa9cb79ff5 (diff)
downloadop-kernel-dev-4baa74fe32f330d464d59a00d01980fd16a15ecc.zip
op-kernel-dev-4baa74fe32f330d464d59a00d01980fd16a15ecc.tar.gz
usb: gadget: remove net2280_set_fifo_mode()
This function has no user in my tree. It looks like it belongs to net2280 but it somehow morphed into the dummy_hcd. So I remove it before it spreads into more drivers. After some digging I figured out that the only user was removed in |commit 9079e91b5b5a84836e65cdc9128d2602e3beaef2 |Author: David Brownell <david-b@pacbell.net> |Date: Wed May 7 16:00:36 2008 -0700 | | USB: serial gadget: cleanup/reorg Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r--drivers/usb/gadget/dummy_hcd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index 865faf0..6d189e1 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -976,16 +976,6 @@ static int dummy_udc_stop(struct usb_gadget_driver *driver)
#undef is_enabled
-/* just declare this in any driver that really need it */
-extern int net2280_set_fifo_mode (struct usb_gadget *gadget, int mode);
-
-int net2280_set_fifo_mode (struct usb_gadget *gadget, int mode)
-{
- return -ENOSYS;
-}
-EXPORT_SYMBOL (net2280_set_fifo_mode);
-
-
/* The gadget structure is stored inside the hcd structure and will be
* released along with it. */
static void
OpenPOWER on IntegriCloud