[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210325160245.5949-1-wanjiabing@vivo.com>
Date: Fri, 26 Mar 2021 00:02:44 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Wan Jiabing <wanjiabing@...o.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Petr Mladek <pmladek@...e.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org
Cc: kael_w@...h.net
Subject: [PATCH] [v3] debug_locks: Remove duplicate declaration
struct task_struct is declared twice.
Remove the duplicate.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
Changelog:
v3:
- Add reviewer info and modify subject line
v2:
- Remove another duplicate declaration for being closer
to its user.
---
include/linux/debug_locks.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h
index 2915f56ad421..32f6a37a3d3f 100644
--- a/include/linux/debug_locks.h
+++ b/include/linux/debug_locks.h
@@ -6,8 +6,6 @@
#include <linux/bug.h>
#include <linux/printk.h>
-struct task_struct;
-
extern int debug_locks __read_mostly;
extern int debug_locks_silent __read_mostly;
--
2.25.1
Powered by blists - more mailing lists