diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-20 13:45:49 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-10-01 18:30:26 +0300 |
commit | c15ace868dd16300ec67021903cc354fe0aa0762 (patch) | |
tree | b7653a12aa4fa2c58d739683919a54dafecdacce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 93ed990e3a6e722b7b1e1d59b3ceb8d91e36e682 (diff) |
ipw2x00: Remove unnecessary parentheses
Clang warns when multiple pairs of parentheses are used for a single
conditional statement.
drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: note: remove
extraneous parentheses around the comparison to silence this warning
if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
~ ^ ~
drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: note: use '=' to
turn this equality comparison into an assignment
if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
^~
=
1 warning generated.
Link: https://github.com/ClangBuiltLinux/linux/issues/134
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions