* [PATCH] Staging: comedi: removing useless init/exit
@ 2015-10-21 3:11 Ronit Halder
2015-10-21 3:33 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Ronit Halder @ 2015-10-21 3:11 UTC (permalink / raw)
To: abbotti; +Cc: hsweeten, gregkh, devel, linux-kernel, Ronit Halder
Removing init and exit functions as they do nothing.
Signed-off-by: Ronit Halder <ronit.crj@gmail.com>
---
drivers/staging/comedi/comedi_usb.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/comedi/comedi_usb.c b/drivers/staging/comedi/comedi_usb.c
index 9c946d4..ed13bf6 100644
--- a/drivers/staging/comedi/comedi_usb.c
+++ b/drivers/staging/comedi/comedi_usb.c
@@ -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");
--
2.6.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: removing useless init/exit
2015-10-21 3:11 [PATCH] Staging: comedi: removing useless init/exit Ronit Halder
@ 2015-10-21 3:33 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-10-21 3:33 UTC (permalink / raw)
To: Ronit Halder; +Cc: abbotti, devel, linux-kernel
On Wed, Oct 21, 2015 at 08:41:52AM +0530, Ronit Halder wrote:
> Removing init and exit functions as they do nothing.
Really? Did you test this?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-21 3:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 3:11 [PATCH] Staging: comedi: removing useless init/exit Ronit Halder
2015-10-21 3:33 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).