Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

locking/lockdep: Cleanup the repeated declaration

'struct task_struct' has been decleared twice, so keep the top one and
cleanup the repeated one.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629875224-32751-1-git-send-email-zhangshaokun@hisilicon.com

authored by

Shaokun Zhang and committed by
Peter Zijlstra
f7427ba5 a2e05ddd

-2
-2
include/linux/debug_locks.h
··· 47 47 # define locking_selftest() do { } while (0) 48 48 #endif 49 49 50 - struct task_struct; 51 - 52 50 #ifdef CONFIG_LOCKDEP 53 51 extern void debug_show_all_locks(void); 54 52 extern void debug_show_held_locks(struct task_struct *task);