diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-11-30 16:12:03 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-12-26 13:01:33 -0800 |
commit | 2f31a8229e6c20cd1adae4847f704f8f1774a043 (patch) | |
tree | 85a06bd093fa83715f5ce9eddf57590977a813ba /lib/netdev-vport.h | |
parent | 552e20d02a32cf70b4fcaa18d6f0817f80a3d8d0 (diff) | |
download | openvswitch-2f31a8229e6c20cd1adae4847f704f8f1774a043.tar.gz |
netdev-vport: Remove set_stats() implementation.
The only user of netdev_set_stats() is bonding (for updating the
fake interface). This interface is never a vport, so it seems
quite a bit cleaner to keep the relevant code in the netdev-linux
library where it's needed, instead of in netdev-vport, where it
adds needless complexity.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/netdev-vport.h')
-rw-r--r-- | lib/netdev-vport.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/netdev-vport.h b/lib/netdev-vport.h index d96a31865..b6bf5793b 100644 --- a/lib/netdev-vport.h +++ b/lib/netdev-vport.h @@ -29,6 +29,5 @@ enum ovs_vport_type netdev_vport_get_vport_type(const struct netdev *); const char *netdev_vport_get_netdev_type(const struct dpif_linux_vport *); int netdev_vport_get_stats(const struct netdev *, struct netdev_stats *); -int netdev_vport_set_stats(struct netdev *, const struct netdev_stats *); #endif /* netdev-vport.h */ |