summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-26 10:57:48 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-09-03 15:00:44 (GMT)
commitc3eb700c5db18be80c1ba37d39995b4c23fbe792 (patch)
tree4212bcde0513161150053eb22d8c1718c70d7da0
parent321ae9646bbfdf27550ecb65617322abc2b92052 (diff)
downloadlinux-c3eb700c5db18be80c1ba37d39995b4c23fbe792.tar.xz
pcmcia: sa11xx_base.c: remove useless init/exit functions
A library module is not required to have module init/exit functions. Get rid of these unnecessary functions. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--drivers/pcmcia/sa11xx_base.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c
index 6e6336d..815b695 100644
--- a/drivers/pcmcia/sa11xx_base.c
+++ b/drivers/pcmcia/sa11xx_base.c
@@ -259,16 +259,6 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
}
EXPORT_SYMBOL(sa11xx_drv_pcmcia_probe);
-static int __init sa11xx_pcmcia_init(void)
-{
- return 0;
-}
-fs_initcall(sa11xx_pcmcia_init);
-
-static void __exit sa11xx_pcmcia_exit(void) {}
-
-module_exit(sa11xx_pcmcia_exit);
-
MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>");
MODULE_DESCRIPTION("Linux PCMCIA Card Services: SA-11xx core socket driver");
MODULE_LICENSE("Dual MPL/GPL");