diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-06-24 19:51:31 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:07 +0200 |
| commit | 469a6a56f4dd2a16bc3cad3072250e806b705156 (patch) | |
| tree | 76633f7cadae3b12f3d90b81702420a33668ef2e /scripts/gdb/linux/symbols.py | |
| parent | d1a513b1cb96f5dd99e803c521260354feaddc9d (diff) | |
input: touchscren: st: Remove unnecessary parentheses
Clang warns:
../drivers/input/touchscreen/st/fts_gui.c:61:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:61:10: note: remove extraneous
parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:61:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:128:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:128:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:128:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:176:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:176:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:176:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:244:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:244:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:244:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
4 warnings generated.
Fixes: ed29ea5a01b9 ("input: touchpanel: Add ST Touchscreen version 4.1.0 driver")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions
