There is duplicate declaration for struct task_struct.
One can be removed safely.

Signed-off-by: Himanshu Maithani <hmaith...@gmail.com>
---
 include/linux/stacktrace.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h
index 669045a..0a34489 100644
--- a/include/linux/stacktrace.h
+++ b/include/linux/stacktrace.h
@@ -7,8 +7,6 @@ struct task_struct;
 struct pt_regs;
 
 #ifdef CONFIG_STACKTRACE
-struct task_struct;
-
 struct stack_trace {
        unsigned int nr_entries, max_entries;
        unsigned long *entries;
-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to