diff options
| author | Andrew Scull <[email protected]> | 2021-03-18 14:33:07 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2021-04-01 09:54:37 +0100 |
| commit | 3ad1a6cb0abc63d036fc866bd7c2c5983516dec5 (patch) | |
| tree | d874dccb304b839fbb4b663fac8737b4c47375db /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff) | |
bug: Remove redundant condition check in report_bug
report_bug() will return early if it cannot find a bug corresponding to
the provided address. The subsequent test for the bug will always be
true so remove it.
Fixes: 1b4cfe3c0a30d ("lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()")
Signed-off-by: Andrew Scull <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Steven Rostedt (VMware)" <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions