locking/lockdep: Fix print_collision() unused warning
authorBorislav Petkov <bp@suse.de>
Mon, 4 Apr 2016 08:42:07 +0000 (10:42 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 4 Apr 2016 09:41:34 +0000 (11:41 +0200)
commit5c8a010c2411729a07cb1b90c09fa978ac0ac6c0
treeef5af68baba2c8b5c2f5c6f5ec86fe4dfaab4795
parent9735a22799b9214d17d3c231fe377fc852f042e9
locking/lockdep: Fix print_collision() unused warning

Fix this:

  kernel/locking/lockdep.c:2051:13: warning: ‘print_collision’ defined but not used [-Wunused-function]
  static void print_collision(struct task_struct *curr,
              ^

Signed-off-by: Borislav Petkov <bp@suse.de>
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>
Link: http://lkml.kernel.org/r/1459759327-2880-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c