From: Roberta Dobrescu Date: Thu, 26 Feb 2015 08:49:27 +0000 (+0200) Subject: tools: iio: lsiio: Remove unused variables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fca6a2f4623122f5f4d79a2c0d4642ff30b6654;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jonathan Cameron --- 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) 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) {