Skip to contentSkip to conversation

Staging: comedi: removing useless init/exit

PATCH In review Ronit Halder 2 participants 2 messages Oct 21, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: comedi: removing useless init/exit

Removing init and exit functions as they do nothing.

---
 drivers/staging/comedi/comedi_usb.c | 10 ----------
 1 file changed, 10 deletions(-)
drivers/staging/comedi/comedi_usb.c +0 -10
index 9c946d4..ed13bf6 100644
@@ -144,16 +144,6 @@ void comedi_usb_driver_unregister(struct comedi_driver *comedi_driver,
 }
 EXPORT_SYMBOL_GPL(comedi_usb_driver_unregister);
 
-static int __init comedi_usb_init(void)
-{
-	return 0;
-}
-module_init(comedi_usb_init);
-
-static void __exit comedi_usb_exit(void)
-{
-}
-module_exit(comedi_usb_exit);
 
 MODULE_AUTHOR("http://www.comedi.org");
 MODULE_DESCRIPTION("Comedi USB interface module");
Signature · 1 line
2.6.0
maintainer
#1 lore raw
Quoted 1 line · Ronit Halder

Removing init and exit functions as they do nothing.

Really? Did you test this?