Re: [PATCH 2/7] iio staging: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Missing sign off.

Just got the same warnings testing the previous patch as you
did so yup agreed with this one.  Do remember to add your sign off

Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx>

> ---
>  drivers/staging/iio/Documentation/generic_buffer.c |    2 --
>  drivers/staging/iio/Documentation/iio_utils.h      |    2 +-
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c
> index 8d6e91c..81358ac 100644
> --- a/drivers/staging/iio/Documentation/generic_buffer.c
> +++ b/drivers/staging/iio/Documentation/generic_buffer.c
> @@ -131,8 +131,6 @@ int main(int argc, char **argv)
>  
>  
>  	int ret, c, i, j, toread;
> -
> -	FILE *fp_ev;
>  	int fp;
>  
>  	int num_channels;
> diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h
> index 6f3a392..6fe8540 100644
> --- a/drivers/staging/iio/Documentation/iio_utils.h
> +++ b/drivers/staging/iio/Documentation/iio_utils.h
> @@ -280,7 +280,7 @@ inline int build_channel_array(const char *device_dir,
>  {
>  	DIR *dp;
>  	FILE *sysfsfp;
> -	int count, temp, i;
> +	int count, i;
>  	struct iio_channel_info *current;
>  	int ret;
>  	const struct dirent *ent;
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux