diff options
author | Enrico Weigelt <info@metux.net> | 2019-06-05 23:11:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 01:57:23 +0200 |
commit | 26f8113cc720b6362432cb8b9ed61dc913418b0c (patch) | |
tree | 05673170ad8de38fc6ae5d8767ca438f0a546de8 /net/ipv6/inet6_hashtables.c | |
parent | net: ipv4: drop unneeded likely() call around IS_ERR() (diff) | |
download | linux-26f8113cc720b6362432cb8b9ed61dc913418b0c.tar.xz linux-26f8113cc720b6362432cb8b9ed61dc913418b0c.zip |
net: ipv6: 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/ipv6/inet6_hashtables.c')
-rw-r--r-- | net/ipv6/inet6_hashtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c index f3515ebe9b3a..c42252eae873 100644 --- a/net/ipv6/inet6_hashtables.c +++ b/net/ipv6/inet6_hashtables.c @@ -178,7 +178,7 @@ struct sock *inet6_lookup_listener(struct net *net, saddr, sport, &in6addr_any, hnum, dif, sdif); done: - if (unlikely(IS_ERR(result))) + if (IS_ERR(result)) return NULL; return result; } |