diff options
| author | Dan Carpenter <[email protected]> | 2019-05-06 12:54:09 +0000 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2019-06-29 07:09:38 +0000 |
| commit | bd9c519785926c72ff66e1b7218a622ace1da0eb (patch) | |
| tree | 91874b2c47b7c9e46b622de21686894f6ec3b9a9 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
| parent | iwlwifi: d3: Use struct_size() helper (diff) | |
| download | kernel-bd9c519785926c72ff66e1b7218a622ace1da0eb.tar.gz kernel-bd9c519785926c72ff66e1b7218a622ace1da0eb.zip | |
iwlwifi: remove some unnecessary NULL checks
These pointers are an offset into the "sta" struct. They're assigned
like this:
const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
They're not the first member of the struct (->supp_rates[] is first) so
they can't be NULL.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions
