OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73f96f
)
ovs: internal_set_rx_headroom() can be static
author
Wu Fengguang
<fengguang.wu@intel.com>
Fri, 18 Mar 2016 16:54:50 +0000
(
00:54
+0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Mar 2016 21:50:36 +0000
(17:50 -0400)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport-internal_dev.c
patch
|
blob
|
history
diff --git
a/net/openvswitch/vport-internal_dev.c
b/net/openvswitch/vport-internal_dev.c
index
83a5534
..
7c8b90b
100644
(file)
--- 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;
}