diff options
| author | Nishanth Menon <nm@ti.com> | 2026-05-12 20:06:21 +0300 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-05-22 18:55:55 +0300 |
| commit | fe5272e13e34025a9bb10cc452805e5085492a92 (patch) | |
| tree | a5521e7a498c9d480dfe42987aa2db574a42f209 /include | |
| parent | 2b47cc255a952d3bd7ec3c0f38fdd81ccde3cb58 (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
