Ver Fonte

tools: iio: lsiio: Remove unused variables

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@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Roberta Dobrescu há 10 anos atrás
pai
commit
3fca6a2f46
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      tools/iio/lsiio.c

+ 0 - 5
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) {