diff options
author | Denis Kirjanov <dkirjanov@kernel.org> | 2010-10-22 01:41:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 19:25:39 -0400 |
commit | 7f8a688e1e319fcc94dbed83a6ec82cea13f10b9 (patch) | |
tree | 1148e53b379afe7feba5445076a64d71fa18bbbf /drivers/net/slhc.c | |
parent | 1c5578194abde100c089855cce72e87c047d8530 (diff) |
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>
Diffstat (limited to 'drivers/net/slhc.c')
-rw-r--r-- | drivers/net/slhc.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/net/slhc.c b/drivers/net/slhc.c index ac279fad9d45..ab9e3b785b5b 100644 --- a/drivers/net/slhc.c +++ b/drivers/net/slhc.c | |||
@@ -688,18 +688,8 @@ slhc_toss(struct slcompress *comp) | |||
688 | return 0; | 688 | return 0; |
689 | } | 689 | } |
690 | 690 | ||
691 | |||
692 | /* VJ header compression */ | ||
693 | EXPORT_SYMBOL(slhc_init); | ||
694 | EXPORT_SYMBOL(slhc_free); | ||
695 | EXPORT_SYMBOL(slhc_remember); | ||
696 | EXPORT_SYMBOL(slhc_compress); | ||
697 | EXPORT_SYMBOL(slhc_uncompress); | ||
698 | EXPORT_SYMBOL(slhc_toss); | ||
699 | |||
700 | #else /* CONFIG_INET */ | 691 | #else /* CONFIG_INET */ |
701 | 692 | ||
702 | |||
703 | int | 693 | int |
704 | slhc_toss(struct slcompress *comp) | 694 | slhc_toss(struct slcompress *comp) |
705 | { | 695 | { |
@@ -738,6 +728,10 @@ slhc_init(int rslots, int tslots) | |||
738 | printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init"); | 728 | printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init"); |
739 | return NULL; | 729 | return NULL; |
740 | } | 730 | } |
731 | |||
732 | #endif /* CONFIG_INET */ | ||
733 | |||
734 | /* VJ header compression */ | ||
741 | EXPORT_SYMBOL(slhc_init); | 735 | EXPORT_SYMBOL(slhc_init); |
742 | EXPORT_SYMBOL(slhc_free); | 736 | EXPORT_SYMBOL(slhc_free); |
743 | EXPORT_SYMBOL(slhc_remember); | 737 | EXPORT_SYMBOL(slhc_remember); |
@@ -745,5 +739,4 @@ EXPORT_SYMBOL(slhc_compress); | |||
745 | EXPORT_SYMBOL(slhc_uncompress); | 739 | EXPORT_SYMBOL(slhc_uncompress); |
746 | EXPORT_SYMBOL(slhc_toss); | 740 | EXPORT_SYMBOL(slhc_toss); |
747 | 741 | ||
748 | #endif /* CONFIG_INET */ | ||
749 | MODULE_LICENSE("Dual BSD/GPL"); | 742 | MODULE_LICENSE("Dual BSD/GPL"); |