summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-28 13:10:38 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-08-13 10:51:03 +0300
commit4a11174d6dbd0bde6d5a1d6efb0d70f58811db55 (patch)
tree8290676be662f937d7870cf6269fa5601d6ecb76 /tools/perf/scripts/python/libxed.py
parentdeebea0ae3f7c1f812ff6b3581dc51445e1be942 (diff)
downloadlinux-4a11174d6dbd0bde6d5a1d6efb0d70f58811db55.tar.xz
mac80211: remove unnecessary NULL check in ieee80211_register_hw()
The address "&sband->iftype_data[i]" points to an array at the end of struct. It can't be NULL and so the check can be removed. Fixes: bac2fd3d7534 ("mac80211: remove use of ieee80211_get_he_sta_cap()") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YNmgHi7Rh3SISdog@mwanda Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions