Issue #3024 has been reported by dcb.

----------------------------------------
Bug #3024: sys/dev/netif/wi/if_wi.c:1090]: (style) Redundant condition
http://bugs.dragonflybsd.org/issues/3024

* Author: dcb
* Status: New
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
sys/dev/netif/wi/if_wi.c:1090]: (style) Redundant condition: params. '!params 
|| (params && params.ibp_flags&IEEE80211_BPF_CRYPTO)' is equivalent to '!params 
|| params.ibp_flags&IEEE80211_BPF_CRYPTO'

Source code is

    if ((wh->i_fc[1] & IEEE80211_FC1_PROTECTED) &&
        (!params || (params && (params->ibp_flags & IEEE80211_BPF_CRYPTO)))) {



-- 
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

Reply via email to