summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2026-05-12 20:06:21 +0300
committerNishanth Menon <nm@ti.com>2026-05-22 18:55:55 +0300
commitfe5272e13e34025a9bb10cc452805e5085492a92 (patch)
treea5521e7a498c9d480dfe42987aa2db574a42f209 /include/linux
parent2b47cc255a952d3bd7ec3c0f38fdd81ccde3cb58 (diff)
downloadlinux-fe5272e13e34025a9bb10cc452805e5085492a92.tar.xz
soc: ti: knav_dma: Remove dead check on unsigned args.args[0]
smatch warns: knav_dma.c:390 of_channel_match_helper() warn: unsigned 'args.args[0]' is never less than zero. of_phandle_args.args[] is uint32_t, so the 'args.args[0] < 0' check is always false. of_parse_phandle_with_fixed_args() already handles errors by returning a non-zero code, which is checked immediately above. Remove the dead check. Reviewed-by: Sai Sree Kartheek Adivi <s-adivi@ti.com> Reviewed-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com> Link: https://patch.msgid.link/20260512170623.3174416-10-nm@ti.com Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions