summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-internal_dev.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-04-29 13:06:41 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-30 00:19:11 -0400
commitcff63a52924c6a78fa525c67d81480c85736ff3c (patch)
treec0feae3b064dc61f28a7ad7e44d0c7551be88f15 /net/openvswitch/vport-internal_dev.c
parent0c772159d1ae15c664304f0830c9aec4702593da (diff)
downloadlinux-stable-cff63a52924c6a78fa525c67d81480c85736ff3c.tar.gz
linux-stable-cff63a52924c6a78fa525c67d81480c85736ff3c.tar.bz2
linux-stable-cff63a52924c6a78fa525c67d81480c85736ff3c.zip
openvswitch: Remove unneeded ovs_netdev_get_ifindex()
The only user is get_dpifindex(), no need to redirect via the port operations. Signed-off-by: Thomas Graf <tgraf@suug.ch> 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
index 73682de8dc69..84e0a0379186 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -232,7 +232,6 @@ const struct vport_ops ovs_internal_vport_ops = {
.create = internal_dev_create,
.destroy = internal_dev_destroy,
.get_name = ovs_netdev_get_name,
- .get_ifindex = ovs_netdev_get_ifindex,
.send = internal_dev_recv,
};