mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 15:44:02 +08:00
slhc: Don't export symbols twice
Don't export symbols twice. Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1c5578194a
commit
7f8a688e1e
@ -688,18 +688,8 @@ slhc_toss(struct slcompress *comp)
|
||||
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 */
|
||||
|
||||
|
||||
int
|
||||
slhc_toss(struct slcompress *comp)
|
||||
{
|
||||
@ -738,6 +728,10 @@ slhc_init(int rslots, int tslots)
|
||||
printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_INET */
|
||||
|
||||
/* VJ header compression */
|
||||
EXPORT_SYMBOL(slhc_init);
|
||||
EXPORT_SYMBOL(slhc_free);
|
||||
EXPORT_SYMBOL(slhc_remember);
|
||||
@ -745,5 +739,4 @@ EXPORT_SYMBOL(slhc_compress);
|
||||
EXPORT_SYMBOL(slhc_uncompress);
|
||||
EXPORT_SYMBOL(slhc_toss);
|
||||
|
||||
#endif /* CONFIG_INET */
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user