diff options
author | 2019-05-06 15:54:09 +0300 | |
---|---|---|
committer | 2019-06-29 10:09:38 +0300 | |
commit | bd9c519785926c72ff66e1b7218a622ace1da0eb (patch) | |
tree | 91874b2c47b7c9e46b622de21686894f6ec3b9a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iwlwifi: d3: Use struct_size() helper (diff) | |
download | wireguard-linux-bd9c519785926c72ff66e1b7218a622ace1da0eb.tar.xz wireguard-linux-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 <dan.carpenter@oracle.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions