[PATCH] usb: dummy_hcd: remove net2280_set_fifo_mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nothing in current kernel code calls this function,
and I don't think a net2280 fifo_mode setting belongs
in dummy_hcd - maybe a copy-paste remnant?

So remove this function.

Signed-off-by: Anand Gadiyar <gadiyar@xxxxxx>
Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
CC: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
---
 drivers/usb/gadget/dummy_hcd.c |   10 ----------
 1 file changed, 10 deletions(-)

Index: linux-2.6/drivers/usb/gadget/dummy_hcd.c
===================================================================
--- linux-2.6.orig/drivers/usb/gadget/dummy_hcd.c	2010-03-25 18:06:27.000000000 +0530
+++ linux-2.6/drivers/usb/gadget/dummy_hcd.c	2010-03-25 18:12:42.000000000 +0530
@@ -851,16 +851,6 @@ EXPORT_SYMBOL (usb_gadget_unregister_dri
 
 #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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux