diff options
| author | Hungyu Lin <dennylin0707@gmail.com> | 2026-04-12 20:24:16 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-06 10:05:56 +0300 |
| commit | c8e13b0dcb7084152cf8274f24e4c5a4ffec6439 (patch) | |
| tree | 44e312a48d4096c116d818551a15fd07dff4e1bd /include | |
| parent | f86ed548386e3050e5f8f25b450d09dc009d9a88 (diff) | |
| download | linux-c8e13b0dcb7084152cf8274f24e4c5a4ffec6439.tar.xz | |
media: tegra-video: tegra210: remove redundant NULL check in dequeue_buf_done
list_first_entry() does not returns NULL when the list is known to be
non-empty. The NULL check before list_del_init() is therefore
redundant.
Remove the unnecessary check.
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
