]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wimax/i2400m: remove unlikely() from WARN*() condition
authorDenis Efremov <efremov@linux.com>
Wed, 25 Sep 2019 23:49:34 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 17:10:30 +0000 (10:10 -0700)
commit77c0e745bd11fc1ccc4690409eca92ea07200141
tree1e08c0319049622e7c9a4dcc0e5b0f4d2068c03e
parent7159d54418e0a1a3df91e74501363a1c05379517
wimax/i2400m: remove unlikely() from WARN*() condition

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

Link: http://lkml.kernel.org/r/20190829165025.15750-6-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wimax/i2400m/tx.c