diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2015-02-26 03:49:27 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-09 13:18:25 -0400 |
commit | 3fca6a2f4623122f5f4d79a2c0d4642ff30b6654 (patch) | |
tree | 2ce1db22edfb2a64b5529b81051bb722a5117d8e /tools/iio | |
parent | 976d9ab112bdef7b25827f576b33068704df78ee (diff) |
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>
Diffstat (limited to 'tools/iio')
-rw-r--r-- | tools/iio/lsiio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c index 98a0de098130..c585440f864e 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) | |||
95 | static void dump_devices(void) | 95 | static void dump_devices(void) |
96 | { | 96 | { |
97 | const struct dirent *ent; | 97 | const struct dirent *ent; |
98 | int number, numstrlen; | ||
99 | |||
100 | FILE *nameFile; | ||
101 | DIR *dp; | 98 | DIR *dp; |
102 | char thisname[IIO_MAX_NAME_LENGTH]; | ||
103 | char *filename; | ||
104 | 99 | ||
105 | dp = opendir(iio_dir); | 100 | dp = opendir(iio_dir); |
106 | if (dp == NULL) { | 101 | if (dp == NULL) { |