Commit 7f8a688e authored by Denis Kirjanov's avatar Denis Kirjanov Committed by David S. Miller

slhc: Don't export symbols twice

Don't export symbols twice.
Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c557819
...@@ -688,18 +688,8 @@ slhc_toss(struct slcompress *comp) ...@@ -688,18 +688,8 @@ slhc_toss(struct slcompress *comp)
return 0; return 0;
} }
/* VJ header compression */
EXPORT_SYMBOL(slhc_init);
EXPORT_SYMBOL(slhc_free);
EXPORT_SYMBOL(slhc_remember);
EXPORT_SYMBOL(slhc_compress);
EXPORT_SYMBOL(slhc_uncompress);
EXPORT_SYMBOL(slhc_toss);
#else /* CONFIG_INET */ #else /* CONFIG_INET */
int int
slhc_toss(struct slcompress *comp) slhc_toss(struct slcompress *comp)
{ {
...@@ -738,6 +728,10 @@ slhc_init(int rslots, int tslots) ...@@ -738,6 +728,10 @@ slhc_init(int rslots, int tslots)
printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init"); printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init");
return NULL; return NULL;
} }
#endif /* CONFIG_INET */
/* VJ header compression */
EXPORT_SYMBOL(slhc_init); EXPORT_SYMBOL(slhc_init);
EXPORT_SYMBOL(slhc_free); EXPORT_SYMBOL(slhc_free);
EXPORT_SYMBOL(slhc_remember); EXPORT_SYMBOL(slhc_remember);
...@@ -745,5 +739,4 @@ EXPORT_SYMBOL(slhc_compress); ...@@ -745,5 +739,4 @@ EXPORT_SYMBOL(slhc_compress);
EXPORT_SYMBOL(slhc_uncompress); EXPORT_SYMBOL(slhc_uncompress);
EXPORT_SYMBOL(slhc_toss); EXPORT_SYMBOL(slhc_toss);
#endif /* CONFIG_INET */
MODULE_LICENSE("Dual BSD/GPL"); MODULE_LICENSE("Dual BSD/GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment