OpenCloudOS-Kernel/drivers/media/pci/tw686x
Hans Verkuil 2104793233 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>
2023-06-09 16:09:10 +01:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
tw686x-audio.c media: pci: tw686x: no need to check 'next' 2023-06-09 16:09:10 +01:00
tw686x-core.c media: tw686x: Fix an error handling path in tw686x_probe() 2022-06-27 09:16:05 +01:00
tw686x-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tw686x-video.c media: tw686x: Fix memory leak in tw686x_video_init 2022-06-27 09:24:45 +01:00
tw686x.h media: media/pci: fix kerneldoc issues in two headers 2021-03-22 10:22:50 +01:00