[media] media: davinci: vpbe: fix build warning
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 14 Mar 2014 05:25:35 +0000 (02:25 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 14 Mar 2014 08:47:39 +0000 (05:47 -0300)
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>
drivers/media/platform/davinci/vpbe_display.c

index 7a0e40ee60e38ab976906b9c19b6d60e73553c3b..b4f12d00be059c3f381b31295d435074ee291dab 100644 (file)
@@ -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 */