diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-28 11:52:46 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-28 13:09:06 +0100 |
commit | d0caf292505d051b1026e85faf3a85e907566f31 (patch) | |
tree | eda525b9ff71123eafbbe2da24d789a089f3a592 /tools/perf/util/ui/helpline.c | |
parent | perf: Fix broken interrupt rate throttling (diff) | |
download | linux-d0caf292505d051b1026e85faf3a85e907566f31.tar.xz linux-d0caf292505d051b1026e85faf3a85e907566f31.zip |
x86/dumpstack: Remove unneeded check in dump_trace()
Smatch complains that we have some inconsistent NULL checking.
If "task" were NULL then it would lead to a NULL dereference
later. We can remove this test because earlier on in the
function we have:
if (!task)
task = current;
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Clemens Ladisch <clemens@ladisch.de>
Link: http://lkml.kernel.org/r/20120128105246.GA25092@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/ui/helpline.c')
0 files changed, 0 insertions, 0 deletions