mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
This commit is contained in:
parent
a2e05ddda1
commit
f7427ba5ce
1 changed files with 0 additions and 2 deletions
|
@ -47,8 +47,6 @@ extern int debug_locks_off(void);
|
||||||
# define locking_selftest() do { } while (0)
|
# define locking_selftest() do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct task_struct;
|
|
||||||
|
|
||||||
#ifdef CONFIG_LOCKDEP
|
#ifdef CONFIG_LOCKDEP
|
||||||
extern void debug_show_all_locks(void);
|
extern void debug_show_all_locks(void);
|
||||||
extern void debug_show_held_locks(struct task_struct *task);
|
extern void debug_show_held_locks(struct task_struct *task);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue