* [PATCH] stacktrace.h: remove duplicate declaration task_struct
@ 2015-01-29 20:01 Himanshu Maithani
0 siblings, 0 replies; only message in thread
From: Himanshu Maithani @ 2015-01-29 20:01 UTC (permalink / raw)
To: trivial; +Cc: linux-kernel, Himanshu Maithani
There is duplicate declaration for struct task_struct.
One can be removed safely.
Signed-off-by: Himanshu Maithani <hmaithani@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-29 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 20:01 [PATCH] stacktrace.h: remove duplicate declaration task_struct Himanshu Maithani
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.