]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Remove unlikely() from IS_ERR*() condition
authorDenis Efremov <efremov@linux.com>
Thu, 29 Aug 2019 16:50:24 +0000 (19:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Aug 2019 02:49:37 +0000 (19:49 -0700)
commit57256c2348eea4838f5fcf8531ac735e1690a905
tree4f73a3818924dd24a022e82ab63f6bea0a69d94e
parent52b3feb3629b05e100cee08043bac50c6e79c344
udp: Remove unlikely() from IS_ERR*() condition

"unlikely(IS_ERR_OR_NULL(x))" is excessive. IS_ERR_OR_NULL() already uses
unlikely() internally.

Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h