diff mbox series

[1/1] saa7164: Remove unused values

Message ID 20241220192735.957042-2-ariel.otilibili-anieli@eurecom.fr
State Superseded
Headers show
Series saa7164: Remove unused values | expand

Commit Message

Ariel Otilibili Dec. 20, 2024, 7:26 p.m. UTC
Coverity-IDs: 1269155, 1269156
Fixes: 11bd27b2e7ab ("[media] saa7164: Add missing saa7164-vbi.c file")
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Ariel Otilibili <ariel.otilibili-anieli@eurecom.fr>
---
 drivers/media/pci/saa7164/saa7164-vbi.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/pci/saa7164/saa7164-vbi.c b/drivers/media/pci/saa7164/saa7164-vbi.c
index a6738baab688..ac958a5fca78 100644
--- a/drivers/media/pci/saa7164/saa7164-vbi.c
+++ b/drivers/media/pci/saa7164/saa7164-vbi.c
@@ -77,9 +77,7 @@  static int saa7164_vbi_buffers_alloc(struct saa7164_port *port)
 	/* TODO: NTSC SPECIFIC */
 	/* Init and establish defaults */
 	params->samplesperline = 1440;
-	params->numberoflines = 12;
 	params->numberoflines = 18;
-	params->pitch = 1600;
 	params->pitch = 1440;
 	params->numpagetables = 2 +
 		((params->numberoflines * params->pitch) / PAGE_SIZE);