[PATCH] media: davinci: vpbe: fix build warning

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] media: davinci: vpbe: fix build warning

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

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 <[hidden email]>
---
 drivers/media/platform/davinci/vpbe_display.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c
index 7a0e40e..b4f12d0 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 */
--
1.7.9.5

_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] media: davinci: vpbe: fix build warning

Hans Verkuil
On 03/14/2014 06:25 AM, Lad, Prabhakar wrote:
> From: "Lad, Prabhakar" <[hidden email]>
>
> 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 <[hidden email]>

Acked-by: Hans Verkuil <[hidden email]>

Thanks!

        Hans

> ---
>  drivers/media/platform/davinci/vpbe_display.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c
> index 7a0e40e..b4f12d0 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 */
>

_______________________________________________
Davinci-linux-open-source mailing list
[hidden email]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Loading...