[PATCH] Remove unneeded test of 'task' in dump_trace()

2007-06-10 Thread Jesper Juhl
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]> ---

[PATCH] Remove unneeded test of 'task' in dump_trace()

2007-06-10 Thread Jesper Juhl
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] ---