lockdep: Fix -Wunused-parameter for _THIS_IP_
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 14 Mar 2022 22:19:03 +0000 (15:19 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Apr 2022 08:24:34 +0000 (10:24 +0200)
commit8b023accc8df70e72f7704d29fead7ca914d6837
tree7d3d325dc189c4dc97b53a0e44bab84eb131076b
parentace1a98519270c586c0d4179419292df67441cd1
lockdep: Fix -Wunused-parameter for _THIS_IP_

While looking into a bug related to the compiler's handling of addresses
of labels, I noticed some uses of _THIS_IP_ seemed unused in lockdep.
Drive by cleanup.

-Wunused-parameter:
kernel/locking/lockdep.c:1383:22: warning: unused parameter 'ip'
kernel/locking/lockdep.c:4246:48: warning: unused parameter 'ip'
kernel/locking/lockdep.c:4844:19: warning: unused parameter 'ip'

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20220314221909.2027027-1-ndesaulniers@google.com
arch/arm64/kernel/entry-common.c
include/linux/irqflags.h
include/linux/kvm_host.h
kernel/entry/common.c
kernel/locking/lockdep.c
kernel/sched/idle.c
kernel/trace/trace_preemptirq.c