projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e05dd
)
locking/lockdep: Cleanup the repeated declaration
author
Shaokun Zhang
<zhangshaokun@hisilicon.com>
Wed, 25 Aug 2021 07:07:04 +0000
(15:07 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Fri, 17 Sep 2021 13:08:45 +0000
(15:08 +0200)
'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
include/linux/debug_locks.h
patch
|
blob
|
history
diff --git
a/include/linux/debug_locks.h
b/include/linux/debug_locks.h
index 3f49e65169c6db36eed63ab8523fc068aa3b04ed..dbb409d77d4f2512da4190138e9db43710b4ce28 100644
(file)
--- a/
include/linux/debug_locks.h
+++ b/
include/linux/debug_locks.h
@@
-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);