diff options
author | Dan Carpenter <[email protected]> | 2012-01-28 13:52:46 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-01-28 13:09:06 +0100 |
commit | d0caf292505d051b1026e85faf3a85e907566f31 (patch) | |
tree | eda525b9ff71123eafbbe2da24d789a089f3a592 /lib/mpi/mpi-scan.c | |
parent | e050e3f0a71bf7dc2c148b35caff0234decc8198 (diff) |
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 <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Clemens Ladisch <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions