tools: iio: lsiio: Remove unused variables
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 26 Feb 2015 08:49:27 +0000 (10:49 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 9 Mar 2015 17:18:25 +0000 (17:18 +0000)
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>
tools/iio/lsiio.c

index 98a0de098130c13259b1aa05c5555c7f48f5983a..c585440f864e365d015d6701601b9fd0ce2b3176 100644 (file)
@@ -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) {