summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/debug.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-21 02:48:29 -0700
committerKalle Valo <kvalo@codeaurora.org>2018-10-01 18:31:10 +0300
commitf613e4803dd6d1f41a86f6406d4c994fa3d387a0 (patch)
treed5c54e93786048e79bdd235e701b235c36ae1112 /drivers/net/wireless/ath/ath5k/debug.c
parentc15ace868dd16300ec67021903cc354fe0aa0762 (diff)
downloadlinux-f613e4803dd6d1f41a86f6406d4c994fa3d387a0.tar.gz
linux-f613e4803dd6d1f41a86f6406d4c994fa3d387a0.tar.bz2
linux-f613e4803dd6d1f41a86f6406d4c994fa3d387a0.zip
rsi: Remove unnecessary boolean condition
Clang warns that the address of a pointer will always evaluated as true in a boolean context. drivers/net/wireless/rsi/rsi_91x_mac80211.c:927:50: warning: address of array 'key->key' will always evaluate to 'true' [-Wpointer-bool-conversion] if (vif->type == NL80211_IFTYPE_STATION && key->key && ~~ ~~~~~^~~ 1 warning generated. Link: https://github.com/ClangBuiltLinux/linux/issues/136 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.c')
0 files changed, 0 insertions, 0 deletions