[PATCH 5.12 485/677] bug: Remove redundant condition check in report_bug