diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-24 15:11:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 18:09:10 +0300 |
commit | 2104793233c2b803107fa39baa9fa149648adce7 (patch) | |
tree | ca33b1f2185da1777acaf44e490519a3b7e8e5c9 /include/media/v4l2-common.h | |
parent | 2192fa95276b0561a579fa4cd19de3f16d47d171 (diff) | |
download | linux-2104793233c2b803107fa39baa9fa149648adce7.tar.xz |
media: pci: tw686x: no need to check 'next'
If 'done' is not NULL, then next can never be NULL, so just drop
the 'next' check.
This fixes this smatch warning:
drivers/media/pci/tw686x/tw686x-audio.c:62 tw686x_audio_irq() warn: can 'next' even be NULL?
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions