summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/datapath.c
diff options
context:
space:
mode:
authorViresh Kumar2015-08-12 12:29:47 +0200
committerJiri Kosina2015-09-29 15:15:40 +0200
commitb5ffe634425591db5692fa242da0bbe20d1f76a7 (patch)
tree20380e2ff1c60c8b980629c5bb728106839e6a00 /net/openvswitch/datapath.c
parentmm: Drop unlikely before IS_ERR(_OR_NULL) (diff)
downloadkernel-qcow2-linux-b5ffe634425591db5692fa242da0bbe20d1f76a7.tar.gz
kernel-qcow2-linux-b5ffe634425591db5692fa242da0bbe20d1f76a7.tar.xz
kernel-qcow2-linux-b5ffe634425591db5692fa242da0bbe20d1f76a7.zip
net: Drop unlikely before IS_ERR(_OR_NULL)
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r--net/openvswitch/datapath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index ff8c4a4c1609..01d69680ba5d 100644
--- a/net/openvswitch/datapath.c
+++ b/net/openvswitch/datapath.c
@@ -1143,7 +1143,7 @@ static int ovs_flow_cmd_set(struct sk_buff *skb, struct genl_info *info)
info, OVS_FLOW_CMD_NEW, false,
ufid_flags);
- if (unlikely(IS_ERR(reply))) {
+ if (IS_ERR(reply)) {
error = PTR_ERR(reply);
goto err_unlock_ovs;
}