Re: [PATCH v2 1/4] bug: Remove redundant condition check in report_bug

2021-02-23 Thread Steven Rostedt
On Tue, 23 Feb 2021 15:57:56 + Andrew Scull wrote: > 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 rep

[PATCH v2 1/4] bug: Remove redundant condition check in report_bug

2021-02-23 Thread Andrew Scull
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. Signed-off-by: Andrew Scull Cc: Peter Zijlstra Cc: "Steven Rostedt (VMware)" --- lib/bug.c | 33 +++-- 1 f