linux/drivers/media/common/saa7146
Aditya Pakki 639c0a5b05 media: media/saa7146: fix incorrect assertion in saa7146_buffer_finish
In saa7146_buffer_finish, the code for q->curr to be NULL is
already present and asserting for NULL is unnecessary. This patch
elimiates such a check.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 15:22:31 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
saa7146_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
saa7146_fops.c media: media/saa7146: fix incorrect assertion in saa7146_buffer_finish 2020-02-24 15:22:31 +01:00
saa7146_hlp.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
saa7146_i2c.c media: saa7146: make use of i2c_8bit_addr_from_msg 2019-01-16 12:38:42 -05:00
saa7146_vbi.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
saa7146_video.c media: saa7146: Avoid using BUG_ON as an assertion 2020-01-08 14:28:59 +01:00