linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include: linux: debug_locks: Remove duplicate declaration
@ 2021-03-25  2:26 Wan Jiabing
  2021-03-25 13:22 ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Wan Jiabing @ 2021-03-25  2:26 UTC (permalink / raw)
  To: Thomas Gleixner, Sergey Senozhatsky, Petr Mladek, Peter Zijlstra,
	Andy Shevchenko, Wan Jiabing, linux-kernel
  Cc: kael_w

struct task_struct is declared at 9th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-25 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  2:26 [PATCH] include: linux: debug_locks: Remove duplicate declaration Wan Jiabing
2021-03-25 13:22 ` Andy Shevchenko
2021-03-25 13:23   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).