Skip to contentSkip to conversation

media: davinci: vpbe: fix build warning

PATCH In review Lad, Prabhakar 2 participants 2 messages Mar 14, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: davinci: vpbe: fix build warning

From: "Lad, Prabhakar" <[email protected]>

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'

---
 drivers/media/platform/davinci/vpbe_display.c |    1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/davinci/vpbe_display.c +0 -1
index 7a0e40e..b4f12d0 100644
@@ -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 */
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Prabhakar

From: "Lad, Prabhakar" <[email protected]>

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'

Thanks!

Hans

Quoted 17 lines
---
 drivers/media/platform/davinci/vpbe_display.c |    1 -
 1 file changed, 1 deletion(-)
drivers/media/platform/davinci/vpbe_display.c +0 -1
index 7a0e40e..b4f12d0 100644
@@ -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 */