[PATCH] include: linux: debug_locks: Remove duplicate declaration
From: Wan Jiabing
Date: Wed Mar 24 2021 - 22:29:05 EST
struct task_struct is declared at 9th line. Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
---
include/linux/debug_locks.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h
index 2915f56ad421..0b3187a5290d 100644
--- a/include/linux/debug_locks.h
+++ b/include/linux/debug_locks.h
@@ -46,7 +46,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);
--
2.25.1