]> git.baikalelectronics.ru Git - kernel.git/commit
locking/lockdep: Remove unnecessary unlikely()
authorzhengbin <zhengbin13@huawei.com>
Mon, 29 Apr 2019 12:26:31 +0000 (20:26 +0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Apr 2019 14:11:01 +0000 (16:11 +0200)
commit99ee47e4e37c7dfeaf5ca473d7d46fa4ebcd6135
tree2b93c515da394c66cce3033fd64d876f73389291
parent97e7583ee0daaa6e6298fe2b229dbbf254a4757a
locking/lockdep: Remove unnecessary unlikely()

DEBUG_LOCKS_WARN_ON() already contains an unlikely(), there is no need
for another one.

Signed-off-by: zhengbin <zhengbin13@huawei.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: houtao1@huawei.com
Link: http://lkml.kernel.org/r/1556540791-23110-1-git-send-email-zhengbin13@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c