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
- Lines: 25
- Date:
Wed Dec 8 10:45:44 1999
- Orig file:
v2.3.30/linux/drivers/usb/hub.c
- Orig date:
Sun Nov 7 16:37:34 1999
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)