diff options
author | Andrew Scull <ascull@google.com> | 2021-03-18 14:33:07 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-01 09:54:37 +0100 |
commit | 3ad1a6cb0abc63d036fc866bd7c2c5983516dec5 (patch) | |
tree | d874dccb304b839fbb4b663fac8737b4c47375db /lib/crypto/blake2s.c | |
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 <ascull@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210318143311.839894-2-ascull@google.com
Diffstat (limited to 'lib/crypto/blake2s.c')
0 files changed, 0 insertions, 0 deletions