The patch titled
Remove unneeded test of 'task' in dump_trace()
has been added to the -mm tree. Its filename is
remove-unneeded-test-of-task-in-dump_trace.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: Remove unneeded test of 'task' in dump_trace()
From: Jesper Juhl <[EMAIL PROTECTED]>
Remove unneeded test of task != NULL from
arch/i386/kernel/traps.c::dump_trace()
At the start of the function we have this test:
if (!task)
task = current;
so further down there's no need to test 'task'.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/i386/kernel/traps.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/i386/kernel/traps.c~remove-unneeded-test-of-task-in-dump_trace
arch/i386/kernel/traps.c
--- a/arch/i386/kernel/traps.c~remove-unneeded-test-of-task-in-dump_trace
+++ a/arch/i386/kernel/traps.c
@@ -148,7 +148,7 @@ void dump_trace(struct task_struct *task
if (!stack) {
unsigned long dummy;
stack = &dummy;
- if (task && task != current)
+ if (task != current)
stack = (unsigned long *)task->thread.esp;
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
remove-unneeded-test-of-task-in-dump_trace.patch
volatile-considered-harmful-take-3.patch
submitchecklist-update-fix-spelling-error.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html