patch-2.3.31 linux/drivers/usb/hub.c

Next file: linux/drivers/usb/usb-core.c
Previous file: linux/drivers/usb/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.30/linux/drivers/usb/hub.c linux/drivers/usb/hub.c
@@ -11,7 +11,6 @@
 #include <linux/list.h>
 #include <linux/malloc.h>
 #include <linux/smp_lock.h>
-#include <linux/module.h>
 #include <linux/spinlock.h>
 
 #include <asm/uaccess.h>
@@ -519,16 +518,3 @@
 	 */
 	usb_deregister(&hub_driver);
 } /* usb_hub_cleanup() */
-
-#ifdef MODULE
-int init_module(void)
-{
-	return usb_hub_init();
-}
-
-void cleanup_module(void)
-{
-	usb_hub_cleanup();
-}
-#endif
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)