diff options
author | Taehee Yoo <ap420073@gmail.com> | 2019-06-09 19:19:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-11 20:56:33 +0200 |
commit | f7a8fb1ff1e581f610c3d06cf30d09a52263794c (patch) | |
tree | 19e07fbeb1b7f0d1ed03a5f3e80e6f2dba84b26e /net/openvswitch/vport.c | |
parent | net: netlink: make netlink_walk_start() void return type (diff) | |
download | linux-f7a8fb1ff1e581f610c3d06cf30d09a52263794c.tar.xz linux-f7a8fb1ff1e581f610c3d06cf30d09a52263794c.zip |
net: openvswitch: remove unnecessary ASSERT_OVSL in ovs_vport_del()
ASSERT_OVSL() in ovs_vport_del() is unnecessary because
ovs_vport_del() is only called by ovs_dp_detach_port() and
ovs_dp_detach_port() calls ASSERT_OVSL() too.
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.c')
-rw-r--r-- | net/openvswitch/vport.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index 258ce3b7b452..9e71f1a601a9 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c @@ -261,8 +261,6 @@ int ovs_vport_set_options(struct vport *vport, struct nlattr *options) */ void ovs_vport_del(struct vport *vport) { - ASSERT_OVSL(); - hlist_del_rcu(&vport->hash_node); module_put(vport->ops->owner); vport->ops->destroy(vport); |