浏览代码

openvswitch: Fix bad merge resolution.

git silently included an extra hunk in vport_cmd_set() during
automatic merging. This code is unreachable so it does not actually
introduce a problem but it is clearly incorrect.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Jesse Gross 12 年之前
父节点
当前提交
30444e981b
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      net/openvswitch/datapath.c

+ 0 - 3
net/openvswitch/datapath.c

@@ -2076,9 +2076,6 @@ static int ovs_vport_cmd_set(struct sk_buff *skb, struct genl_info *info)
 	ovs_notify(reply, info, &ovs_dp_vport_multicast_group);
 	return 0;
 
-	rtnl_unlock();
-	return 0;
-
 exit_free:
 	kfree_skb(reply);
 exit_unlock: