[DragonFlyBSD - Bug #3018] sys/bus/u4b/wlan/if_run.c:5464]: (style) Redundant condition
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Wed Oct 7 21:51:43 PDT 2026
Issue #3018 has been updated by sigttou.
File 0001-run-simplify-revision-comparison.patch added
patch attached.
----------------------------------------
Bug #3018: sys/bus/u4b/wlan/if_run.c:5464]: (style) Redundant condition
http://bugs.dragonflybsd.org/issues/3018#change-14814
* Author: dcb
* Status: New
* Priority: Normal
* Target version: 6.4
* Start date: 2017-04-11
----------------------------------------
sys/bus/u4b/wlan/if_run.c:5464]: (style) Redundant condition: If 'EXPR < 513', the comparison 'EXPR < 529' is always true.
Source code is
} else if (sc->mac_rev < 0x0201 || sc->mac_rev < 0x0211)
run_rt3070_rf_write(sc, 27, 0x03);
---Files--------------------------------
0001-run-simplify-revision-comparison.patch (959 Bytes)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list