Skip to contentSkip to conversation

stacktrace.h: remove duplicate declaration task_struct

PATCH New Himanshu Maithani 1 participant 1 message Jan 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stacktrace.h: remove duplicate declaration task_struct

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

---
 include/linux/stacktrace.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/stacktrace.h +0 -2
index 669045a..0a34489 100644
@@ -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;
Signature · 1 line
1.8.2