2020-10-01 09:29:43

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH 2/3] media: zoran: get rid of an unused var

The jpeg_error in lowercase is not used anywhere. Drop it.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
drivers/staging/media/zoran/zoran.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/media/zoran/zoran.h b/drivers/staging/media/zoran/zoran.h
index 7217a64fe59b..945502becd60 100644
--- a/drivers/staging/media/zoran/zoran.h
+++ b/drivers/staging/media/zoran/zoran.h
@@ -264,7 +264,6 @@ struct zoran {

/* Additional stuff for testing */
unsigned int ghost_int;
- int jpeg_error;
int intr_counter_GIRQ1;
int intr_counter_GIRQ0;
int intr_counter_CodRepIRQ;
--
2.26.2


2020-10-02 07:23:27

by Corentin LABBE

[permalink] [raw]
Subject: Re: [PATCH 2/3] media: zoran: get rid of an unused var

On Thu, Oct 01, 2020 at 11:28:14AM +0200, Mauro Carvalho Chehab wrote:
> The jpeg_error in lowercase is not used anywhere. Drop it.
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
> ---
> drivers/staging/media/zoran/zoran.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/media/zoran/zoran.h b/drivers/staging/media/zoran/zoran.h
> index 7217a64fe59b..945502becd60 100644
> --- a/drivers/staging/media/zoran/zoran.h
> +++ b/drivers/staging/media/zoran/zoran.h
> @@ -264,7 +264,6 @@ struct zoran {
>
> /* Additional stuff for testing */
> unsigned int ghost_int;
> - int jpeg_error;
> int intr_counter_GIRQ1;
> int intr_counter_GIRQ0;
> int intr_counter_CodRepIRQ;
> --
> 2.26.2
>

Acked-by: Corentin Labbe <[email protected]>

Thanks