From: Roberta Dobrescu <roberta.dobrescu@gmail.com>
To: linux-iio@vger.kernel.org
Cc: daniel.baluta@intel.com, octavian.purdila@intel.com,
jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de,
pmeerw@pmeerw.net, Roberta Dobrescu <roberta.dobrescu@gmail.com>
Subject: [PATCH 5/5] tools: iio: lsiio: Remove unused variables
Date: Thu, 26 Feb 2015 10:49:27 +0200 [thread overview]
Message-ID: <1424940567-24877-6-git-send-email-roberta.dobrescu@gmail.com> (raw)
In-Reply-To: <1424940567-24877-1-git-send-email-roberta.dobrescu@gmail.com>
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>
---
tools/iio/lsiio.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c
index 98a0de0..c585440 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) {
--
1.9.1
next prev parent reply other threads:[~2015-02-26 8:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 8:49 [PATCH 0/5] iio: Move iio userspace applications out of staging Roberta Dobrescu
2015-02-26 8:49 ` [PATCH 1/5] staging: iio: Documentation: iio_event_monitor: Include linux/iio/types.h Roberta Dobrescu
2015-03-09 17:12 ` Jonathan Cameron
2015-02-26 8:49 ` [PATCH 2/5] staging: iio: Documentation: Introduce iio_utils.c Roberta Dobrescu
2015-03-09 17:14 ` Jonathan Cameron
2015-02-26 8:49 ` [PATCH 3/5] iio: Move iio userspace applications out of staging Roberta Dobrescu
2015-03-09 17:16 ` Jonathan Cameron
2015-05-02 23:21 ` Hartmut Knaack
2015-05-12 19:44 ` Jonathan Cameron
2015-02-26 8:49 ` [PATCH 4/5] tools: iio: Define _GNU_SOURCE in Makefile Roberta Dobrescu
2015-03-09 17:18 ` Jonathan Cameron
2015-02-26 8:49 ` Roberta Dobrescu [this message]
2015-03-09 17:23 ` [PATCH 5/5] tools: iio: lsiio: Remove unused variables Jonathan Cameron
2015-03-10 16:03 ` Roberta Dobrescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424940567-24877-6-git-send-email-roberta.dobrescu@gmail.com \
--to=roberta.dobrescu@gmail.com \
--cc=daniel.baluta@intel.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=octavian.purdila@intel.com \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).