Re: [PATCH 5/5] tools: iio: lsiio: Remove unused variables

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

 



On 26/02/15 08:49, Roberta Dobrescu wrote:
> This patch removes unused variables from lsiio.c in order
> to get rid of the warnings regarding them.
> 
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@xxxxxxxxx>
Applied to the togreg branch of iio.git

Thanks again for sorting this out.

Jonathan
> ---
>  tools/iio/lsiio.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c
> index 98a0de0..c585440 100644
> --- a/tools/iio/lsiio.c
> +++ b/tools/iio/lsiio.c
> @@ -95,12 +95,7 @@ static int dump_one_trigger(const char *dev_dir_name)
>  static void dump_devices(void)
>  {
>  	const struct dirent *ent;
> -	int number, numstrlen;
> -
> -	FILE *nameFile;
>  	DIR *dp;
> -	char thisname[IIO_MAX_NAME_LENGTH];
> -	char *filename;
>  
>  	dp = opendir(iio_dir);
>  	if (dp == NULL) {
> 

--
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