aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2011-10-10 10:09:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-14 16:21:46 -0400
commit84f42af66535a57875b72678126c4238142ad4be (patch)
tree4b47e985604b2bd3b5d07520d254905faa21e30d /drivers/media/video/cx23885
parent6c6f52fd6024b40297db32acb67f1fce6c6d1ae3 (diff)
[media] cx23885: Removed a spurious function cx23885_set_scale()
Unused function removed. Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-video.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c
index 7291f64e92bc..65b1bd2fc4e8 100644
--- a/drivers/media/video/cx23885/cx23885-video.c
+++ b/drivers/media/video/cx23885/cx23885-video.c
@@ -543,13 +543,6 @@ static int cx23885_audio_mux(struct cx23885_dev *dev, unsigned int input)
543} 543}
544 544
545/* ------------------------------------------------------------------ */ 545/* ------------------------------------------------------------------ */
546static int cx23885_set_scale(struct cx23885_dev *dev, unsigned int width,
547 unsigned int height, enum v4l2_field field)
548{
549 dprintk(1, "%s()\n", __func__);
550 return 0;
551}
552
553static int cx23885_start_video_dma(struct cx23885_dev *dev, 546static int cx23885_start_video_dma(struct cx23885_dev *dev,
554 struct cx23885_dmaqueue *q, 547 struct cx23885_dmaqueue *q,
555 struct cx23885_buffer *buf) 548 struct cx23885_buffer *buf)
@@ -559,7 +552,6 @@ static int cx23885_start_video_dma(struct cx23885_dev *dev,
559 /* setup fifo + format */ 552 /* setup fifo + format */
560 cx23885_sram_channel_setup(dev, &dev->sram_channels[SRAM_CH01], 553 cx23885_sram_channel_setup(dev, &dev->sram_channels[SRAM_CH01],
561 buf->bpl, buf->risc.dma); 554 buf->bpl, buf->risc.dma);
562 cx23885_set_scale(dev, buf->vb.width, buf->vb.height, buf->vb.field);
563 555
564 /* reset counter */ 556 /* reset counter */
565 cx_write(VID_A_GPCNT_CTL, 3); 557 cx_write(VID_A_GPCNT_CTL, 3);