aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/datapath.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-12-17 19:22:48 +0000
committerJesse Gross <jesse@nicira.com>2014-01-06 15:54:39 -0800
commit443cd88c8a31379e95326428bbbd40af25c1d440 (patch)
treea70bdb18d4518d40896f2ae0ecda9bbcf0626b57 /net/openvswitch/datapath.c
parentopenvswitch: Compute checksum in skb_gso_segment() if needed (diff)
downloadlinux-dev-443cd88c8a31379e95326428bbbd40af25c1d440.tar.xz
linux-dev-443cd88c8a31379e95326428bbbd40af25c1d440.zip
ovs: make functions local
Several functions and datastructures could be local Found with 'make namespacecheck' Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r--net/openvswitch/datapath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index 61ae3b86a995..df4692826ead 100644
--- a/net/openvswitch/datapath.c
+++ b/net/openvswitch/datapath.c
@@ -132,7 +132,7 @@ static struct datapath *get_dp(struct net *net, int dp_ifindex)
}
/* Must be called with rcu_read_lock or ovs_mutex. */
-const char *ovs_dp_name(const struct datapath *dp)
+static const char *ovs_dp_name(const struct datapath *dp)
{
struct vport *vport = ovs_vport_ovsl_rcu(dp, OVSP_LOCAL);
return vport->ops->get_name(vport);
@@ -1466,7 +1466,7 @@ struct genl_family dp_vport_genl_family = {
.parallel_ops = true,
};
-struct genl_multicast_group ovs_dp_vport_multicast_group = {
+static struct genl_multicast_group ovs_dp_vport_multicast_group = {
.name = OVS_VPORT_MCGROUP
};