summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-internal_dev.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2016-03-18 17:54:50 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-18 22:50:36 +0100
commite014e8468552236f0f0cb64c7c341c1dce506070 (patch)
treec8ee615352c35c2aad0a466d564d84b0f4df7aeb /net/openvswitch/vport-internal_dev.c
parentnet: dst_cache_per_cpu_dst_set() can be static (diff)
downloadlinux-e014e8468552236f0f0cb64c7c341c1dce506070.tar.xz
linux-e014e8468552236f0f0cb64c7c341c1dce506070.zip
ovs: internal_set_rx_headroom() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-internal_dev.c')
-rw-r--r--net/openvswitch/vport-internal_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
index 83a5534abd31..7c8b90bf0e54 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -138,7 +138,7 @@ internal_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats)
return stats;
}
-void internal_set_rx_headroom(struct net_device *dev, int new_hr)
+static void internal_set_rx_headroom(struct net_device *dev, int new_hr)
{
dev->needed_headroom = new_hr;
}