diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-10-19 05:26:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-19 15:11:55 -0400 |
commit | 76e4cc7731a1e0c07e202999b9834f9d9be66de4 (patch) | |
tree | 0d2d44f5678fe5bb5f94404895bc676bf4ccb58d | |
parent | f33eb0cf9984f79e8643eaac888e4b6a06a8e221 (diff) |
openvswitch: remove unnecessary EXPORT_SYMBOLs
Some symbols exported to other modules are really used only by
openvswitch.ko. Remove the exports.
Tested by loading all 4 openvswitch modules, nothing breaks.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/openvswitch/datapath.c | 2 | ||||
-rw-r--r-- | net/openvswitch/vport-netdev.c | 1 | ||||
-rw-r--r-- | net/openvswitch/vport.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 4d67ea856067..194435aa1165 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include "vport-netdev.h" | 59 | #include "vport-netdev.h" |
60 | 60 | ||
61 | int ovs_net_id __read_mostly; | 61 | int ovs_net_id __read_mostly; |
62 | EXPORT_SYMBOL_GPL(ovs_net_id); | ||
63 | 62 | ||
64 | static struct genl_family dp_packet_genl_family; | 63 | static struct genl_family dp_packet_genl_family; |
65 | static struct genl_family dp_flow_genl_family; | 64 | static struct genl_family dp_flow_genl_family; |
@@ -131,7 +130,6 @@ int lockdep_ovsl_is_held(void) | |||
131 | else | 130 | else |
132 | return 1; | 131 | return 1; |
133 | } | 132 | } |
134 | EXPORT_SYMBOL_GPL(lockdep_ovsl_is_held); | ||
135 | #endif | 133 | #endif |
136 | 134 | ||
137 | static struct vport *new_vport(const struct vport_parms *); | 135 | static struct vport *new_vport(const struct vport_parms *); |
diff --git a/net/openvswitch/vport-netdev.c b/net/openvswitch/vport-netdev.c index 4e3972344aa6..e825753de1e0 100644 --- a/net/openvswitch/vport-netdev.c +++ b/net/openvswitch/vport-netdev.c | |||
@@ -162,7 +162,6 @@ void ovs_netdev_detach_dev(struct vport *vport) | |||
162 | netdev_master_upper_dev_get(vport->dev)); | 162 | netdev_master_upper_dev_get(vport->dev)); |
163 | dev_set_promiscuity(vport->dev, -1); | 163 | dev_set_promiscuity(vport->dev, -1); |
164 | } | 164 | } |
165 | EXPORT_SYMBOL_GPL(ovs_netdev_detach_dev); | ||
166 | 165 | ||
167 | static void netdev_destroy(struct vport *vport) | 166 | static void netdev_destroy(struct vport *vport) |
168 | { | 167 | { |
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index 9d0a87845843..9bb85b35a1fb 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c | |||
@@ -463,7 +463,6 @@ int ovs_vport_receive(struct vport *vport, struct sk_buff *skb, | |||
463 | ovs_dp_process_packet(skb, &key); | 463 | ovs_dp_process_packet(skb, &key); |
464 | return 0; | 464 | return 0; |
465 | } | 465 | } |
466 | EXPORT_SYMBOL_GPL(ovs_vport_receive); | ||
467 | 466 | ||
468 | static unsigned int packet_length(const struct sk_buff *skb) | 467 | static unsigned int packet_length(const struct sk_buff *skb) |
469 | { | 468 | { |