summaryrefslogtreecommitdiff
path: root/net/ipv4/udp_offload.c
diff options
context:
space:
mode:
authorEnrico Weigelt <info@metux.net>2019-06-06 00:09:05 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-06 02:57:23 +0300
commit88e235b80c2ad9117e153f2651857142d2d65db9 (patch)
tree1b5d34e5c6ad597d8124193b585bf46144933d58 /net/ipv4/udp_offload.c
parentb90f5aa4d6268e81dd1fd51e5ef89d2892bf040d (diff)
downloadlinux-88e235b80c2ad9117e153f2651857142d2d65db9.tar.xz
net: ipv4: drop unneeded likely() call around IS_ERR()
IS_ERR() already calls unlikely(), so this extra unlikely() call around IS_ERR() is not needed. Signed-off-by: Enrico Weigelt <info@metux.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp_offload.c')
-rw-r--r--net/ipv4/udp_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c
index 065334b41d57..f1c46df279e8 100644
--- a/net/ipv4/udp_offload.c
+++ b/net/ipv4/udp_offload.c
@@ -212,7 +212,7 @@ struct sk_buff *__udp_gso_segment(struct sk_buff *gso_skb,
gso_skb->destructor = NULL;
segs = skb_segment(gso_skb, features);
- if (unlikely(IS_ERR_OR_NULL(segs))) {
+ if (IS_ERR_OR_NULL(segs)) {
if (copy_dtor)
gso_skb->destructor = sock_wfree;
return segs;