Commit f7427ba5 authored by Shaokun Zhang's avatar Shaokun Zhang Committed by Peter Zijlstra
Browse files

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: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1629875224-32751-1-git-send-email-zhangshaokun@hisilicon.com
parent a2e05ddd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -47,8 +47,6 @@ extern int debug_locks_off(void);
# define locking_selftest()	do { } while (0)
#endif

struct task_struct;

#ifdef CONFIG_LOCKDEP
extern void debug_show_all_locks(void);
extern void debug_show_held_locks(struct task_struct *task);