linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Roberta Dobrescu <roberta.dobrescu@gmail.com>, linux-iio@vger.kernel.org
Cc: daniel.baluta@intel.com, octavian.purdila@intel.com,
	knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net
Subject: Re: [PATCH 5/5] tools: iio: lsiio: Remove unused variables
Date: Mon, 09 Mar 2015 17:23:54 +0000	[thread overview]
Message-ID: <54FDD72A.8020105@kernel.org> (raw)
In-Reply-To: <1424940567-24877-6-git-send-email-roberta.dobrescu@gmail.com>

On 26/02/15 08:49, Roberta Dobrescu wrote:
> 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>
Applied to the togreg branch of iio.git

Thanks again for sorting this out.

Jonathan
> ---
>  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) {
> 


  reply	other threads:[~2015-03-09 17:23 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 ` [PATCH 5/5] tools: iio: lsiio: Remove unused variables Roberta Dobrescu
2015-03-09 17:23   ` Jonathan Cameron [this message]
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=54FDD72A.8020105@kernel.org \
    --to=jic23@kernel.org \
    --cc=daniel.baluta@intel.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=octavian.purdila@intel.com \
    --cc=pmeerw@pmeerw.net \
    --cc=roberta.dobrescu@gmail.com \
    /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).