summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-09-27 00:00:45 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:41:03 +0200
commit245e308390b6ed1ca73ba653983923d45a133130 (patch)
tree1536f63ce97a4e7edeccd3067391e7962e576c17 /scripts/gdb/linux/modules.py
parent01b2f1a3534089c45fa64005bad31627f0d9266d (diff)
tty: msm_smd_tty: Remove useless NULL checks
Clang warns: ../drivers/tty/serial/msm_smd_tty.c:371:19: warning: address of array 'smd_tty[n].dev_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!smd_tty[n].dev_name) ~~~~~~~~~~~~^~~~~~~~ ../drivers/tty/serial/msm_smd_tty.c:505:39: warning: address of array 'smd_tty[n].ch_name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (n >= MAX_SMD_TTYS || !smd_tty[n].ch_name) ~~~~~~~~~~~~^~~~~~~ 2 warnings generated. Fixes: 21753c44f4e6 ("drivers: tty: serial: Add snapshot of SMD_TTY Driver") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions