diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-28 16:57:14 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:06 +0200 |
| commit | 0a28a7bab8ce6ade9eb67c203251a737a6bcc5d8 (patch) | |
| tree | 8b802e69ee80d2449438a218d12692c4750e39fe /scripts/gdb/linux/modules.py | |
| parent | 82d659482586d39a96528d28f7560505189604f0 (diff) | |
input: atmel_maxtouch_ts: Remove pointless NULL check in mxt_load_cfg
Clang warns:
../drivers/input/touchscreen/atmel_maxtouch_ts.c:1864:13: warning:
address of array 'data->cfg_name' will always evaluate to 'true'
[-Wpointer-bool-conversion]
if (!data->cfg_name) {
~~~~~~~^~~~~~~~
1 warning generated.
Fixes: ea2cf49df906 ("input: atmel_maxtouch_ts: Add latest Atmel driver support")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
