summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-08-05 11:58:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-05 21:12:40 +0200
commitbf7396230f74bf4e9d0da4f703fc73b27a8f01df (patch)
tree193273ccbdaff1d0fa134b8498999467650fcd68 /tools/perf/scripts/python/bin
parent760e7353a6e13e73a73b419cac766b4a718d711c (diff)
downloadlinux-bf7396230f74bf4e9d0da4f703fc73b27a8f01df.tar.gz
linux-bf7396230f74bf4e9d0da4f703fc73b27a8f01df.zip
staging: r8188eu: Remove pointless NULL check in rtw_check_join_candidate()
Clang warns: drivers/staging/r8188eu/core/rtw_mlme.c:1629:28: warning: address of array 'pmlmepriv->assoc_ssid.Ssid' will always evaluate to 'true' [-Wpointer-bool-conversion] if (pmlmepriv->assoc_ssid.Ssid && pmlmepriv->assoc_ssid.SsidLength) { ~~~~~~~~~~~~~~~~~~~~~~^~~~ ~~ 1 warning generated. Ssid is an array not at the beginning of a struct so its address cannot be NULL so remove the check. Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210805185807.3296077-4-nathan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions