Project

General

Profile

Actions

Bug #3024

open

sys/dev/netif/wi/if_wi.c:1090]: (style) Redundant condition

Added by dcb almost 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
04/11/2017
Due date:
% Done:

0%

Estimated time:

Description

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

No data to display

Actions

Also available in: Atom PDF