summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2014-03-14 02:25:35 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-14 05:47:39 -0300
commit17fd60fd503d3e7ae095ed75f5a1f1ed1a5d31c1 (patch)
treec19f54c26003be975017b5c051bb1dd9169bb40c
parentba6e6f6e5032679b08158eda86cf3fce456dc1ec (diff)
downloadblackbird-op-linux-17fd60fd503d3e7ae095ed75f5a1f1ed1a5d31c1.tar.gz
blackbird-op-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>
-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 */
OpenPOWER on IntegriCloud