summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2014-03-14 06:25:35 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-14 09:47:39 +0100
commit17fd60fd503d3e7ae095ed75f5a1f1ed1a5d31c1 (patch)
treec19f54c26003be975017b5c051bb1dd9169bb40c /drivers/media/platform
parent[media] MAINTAINERS: add rtl2832_sdr driver (diff)
downloadlinux-17fd60fd503d3e7ae095ed75f5a1f1ed1a5d31c1.tar.xz
linux-17fd60fd503d3e7ae095ed75f5a1f1ed1a5d31c1.zip
[media] media: davinci: vpbe: fix build warning
this patch fixes following build warning drivers/media/platform/davinci/vpbe_display.c: In function 'vpbe_start_streaming': drivers/media/platform/davinci/vpbe_display.c:344: warning: unused variable 'vpbe_dev' Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/davinci/vpbe_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c
index 7a0e40ee60e3..b4f12d00be05 100644
--- a/drivers/media/platform/davinci/vpbe_display.c
+++ b/drivers/media/platform/davinci/vpbe_display.c
@@ -341,7 +341,6 @@ static int vpbe_start_streaming(struct vb2_queue *vq, unsigned int count)
{
struct vpbe_fh *fh = vb2_get_drv_priv(vq);
struct vpbe_layer *layer = fh->layer;
- struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;
int ret;
/* Get the next frame from the buffer queue */