From: Steven Toth Date: Mon, 10 Oct 2011 14:09:56 +0000 (-0300) Subject: [media] cx23885: Removed a spurious function cx23885_set_scale() X-Git-Tag: next-20111101~96^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84f42af66535a57875b72678126c4238142ad4be;p=karo-tx-linux.git [media] cx23885: Removed a spurious function cx23885_set_scale() Unused function removed. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- 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) } /* ------------------------------------------------------------------ */ -static int cx23885_set_scale(struct cx23885_dev *dev, unsigned int width, - unsigned int height, enum v4l2_field field) -{ - dprintk(1, "%s()\n", __func__); - return 0; -} - static int cx23885_start_video_dma(struct cx23885_dev *dev, struct cx23885_dmaqueue *q, struct cx23885_buffer *buf) @@ -559,7 +552,6 @@ static int cx23885_start_video_dma(struct cx23885_dev *dev, /* setup fifo + format */ cx23885_sram_channel_setup(dev, &dev->sram_channels[SRAM_CH01], buf->bpl, buf->risc.dma); - cx23885_set_scale(dev, buf->vb.width, buf->vb.height, buf->vb.field); /* reset counter */ cx_write(VID_A_GPCNT_CTL, 3);