projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976d9ab
)
tools: iio: lsiio: Remove unused variables
author
Roberta Dobrescu
<roberta.dobrescu@gmail.com>
Thu, 26 Feb 2015 08:49:27 +0000
(10:49 +0200)
committer
Jonathan 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
patch
|
blob
|
blame
|
history
diff --git
a/tools/iio/lsiio.c
b/tools/iio/lsiio.c
index 98a0de098130c13259b1aa05c5555c7f48f5983a..c585440f864e365d015d6701601b9fd0ce2b3176 100644
(file)
--- 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) {