Commit 7f8a688e1e319fcc94dbed83a6ec82cea13f10b9
Committed by
David S. Miller
1 parent
1c5578194a
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 4 additions and 11 deletions Side-by-side Diff
drivers/net/slhc.c
... | ... | @@ -688,18 +688,8 @@ |
688 | 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 | 691 | #else /* CONFIG_INET */ |
701 | 692 | |
702 | - | |
703 | 693 | int |
704 | 694 | slhc_toss(struct slcompress *comp) |
705 | 695 | { |
... | ... | @@ -738,6 +728,10 @@ |
738 | 728 | printk(KERN_DEBUG "Called IP function on non IP-system: slhc_init"); |
739 | 729 | return NULL; |
740 | 730 | } |
731 | + | |
732 | +#endif /* CONFIG_INET */ | |
733 | + | |
734 | +/* VJ header compression */ | |
741 | 735 | EXPORT_SYMBOL(slhc_init); |
742 | 736 | EXPORT_SYMBOL(slhc_free); |
743 | 737 | EXPORT_SYMBOL(slhc_remember); |
... | ... | @@ -745,6 +739,5 @@ |
745 | 739 | EXPORT_SYMBOL(slhc_uncompress); |
746 | 740 | EXPORT_SYMBOL(slhc_toss); |
747 | 741 | |
748 | -#endif /* CONFIG_INET */ | |
749 | 742 | MODULE_LICENSE("Dual BSD/GPL"); |