Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1252449
| From | Ronit Halder <ronit.crj@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging: comedi: removing useless init/exit |
| Date | 2015-10-21 05:20 +0200 |
| Message-ID | <qlS6t-7be-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] Staging: comedi: removing useless init/exit Ronit Halder <ronit.crj@gmail.com> - 2015-10-21 05:20 +0200 Re: [PATCH] Staging: comedi: removing useless init/exit Greg KH <gregkh@linuxfoundation.org> - 2015-10-21 05:40 +0200
csiph-web