diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-06-28 12:29:03 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-07-25 15:39:26 +0200 |
commit | 30a35f79faadfeb1b89a7fdb3875f14063519041 (patch) | |
tree | 75b1121770194afec6e4ad9e745f0de6150c145c /drivers/spi/spi-fsl-cpm.c | |
parent | 68037aa78208f34bda4e5cd76c357f718b838cbb (diff) | |
download | linux-30a35f79faadfeb1b89a7fdb3875f14063519041.tar.gz linux-30a35f79faadfeb1b89a7fdb3875f14063519041.tar.bz2 linux-30a35f79faadfeb1b89a7fdb3875f14063519041.zip |
locking/lockdep: Clean up #ifdef checks
As Will Deacon points out, CONFIG_PROVE_LOCKING implies TRACE_IRQFLAGS,
so the conditions I added in the previous patch, and some others in the
same file can be simplified by only checking for the former.
No functional change.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Frederic Weisbecker <frederic@kernel.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: Waiman Long <longman@redhat.com>
Cc: Yuyang Du <duyuyang@gmail.com>
Fixes: 886532aee3cd ("locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING")
Link: https://lkml.kernel.org/r/20190628102919.2345242-1-arnd@arndb.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-cpm.c')
0 files changed, 0 insertions, 0 deletions