[PATCH 0/1] lockdep: fix an unused variable warning
From: john . hubbard
Date: Wed Jul 24 2019 - 18:54:59 EST
From: John Hubbard <jhubbard@xxxxxxxxxx>
Hi,
I just ran into this while building other things against today's linux.git.
For the !CONFIG_PROVE_LOCKING case, the "class" variable is left unused.
Rather than tease apart the functionality in lockdep_stats_show(), where
class is used to increment up to 15 local variables, this patch merely
adds yet another ifdef to fix the build warning.
I'll leave it to a larger cleanup effort (which is probably not
worth the churn, actually) to avoid all of the ifdef slicing up
of these routines.
John Hubbard (1):
lockdep: fix an unused variable warning
kernel/locking/lockdep_proc.c | 2 ++
1 file changed, 2 insertions(+)
--
2.22.0