diff options
| author | Gabriel Rondon <grondon@gmail.com> | 2026-04-01 11:10:38 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-27 05:01:51 -0600 |
| commit | fde67f5b1fc77f3c6701b31751643c11526927bc (patch) | |
| tree | fcc3ccaccbba85e6e032c44285903dfc72052cdf /tools/perf/scripts/python/bin | |
| parent | 6aa2b11ce527c23e6a472204ee74fdf4a7411231 (diff) | |
staging: most: dim2: remove unnecessary NULL check in try_start_dim_transfer()
Remove the !hdm_ch check. Although hdm_ch is a function parameter,
it is already dereferenced on the preceding line to initialize
head (head = &hdm_ch->pending_list), so a NULL check after that
point is dead code.
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/all/acwjEHyEYg0V3OyC@stanley.mountain
Signed-off-by: Gabriel Rondon <grondon@gmail.com>
Link: https://patch.msgid.link/20260401101038.24304-1-grondon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
