stacktrace.h: remove duplicate declaration task_struct
authorHimanshu Maithani <hmaithani@gmail.com>
Thu, 29 Jan 2015 20:01:14 +0000 (01:31 +0530)
committerJiri Kosina <jkosina@suse.cz>
Fri, 6 Mar 2015 22:08:20 +0000 (23:08 +0100)
There is duplicate declaration for struct task_struct.
One can be removed safely.

Signed-off-by: Himanshu Maithani <hmaithani@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/stacktrace.h

index 115b570e3bff3d47df43794b5781cfeaa3aa6245..1fea0380e97fb93ad3ff1e719fc815d539257b1d 100644 (file)
@@ -5,8 +5,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;