]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i386: Remove unneeded test of 'task' in dump_trace()
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 21 Jul 2007 15:11:14 +0000 (17:11 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:12 +0000 (18:37 -0700)
commit028a690a1ebc8b825b6f42214a99a5abcf9aa4c6
tree7dcffcf2cb44af2e1c3862f51087d99ea6f21b97
parentc673f1a9d994de501b674b2bb6a48bd5e912afe0
i386: Remove unneeded test of 'task' in dump_trace()

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 <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/traps.c