All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: linux-wpan@vger.kernel.org
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [PATCHv2 wpan-tools 2/2] info: remove unused features argument
Date: Tue, 20 Jan 2015 21:02:35 +0100	[thread overview]
Message-ID: <1421784155-2670-2-git-send-email-alex.aring@gmail.com> (raw)
In-Reply-To: <1421784155-2670-1-git-send-email-alex.aring@gmail.com>

This patch removes an unused argument string for the phy information
call. This is copied from the original iw tool. If we need really such
argument then we can add this later again.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 src/info.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/info.c b/src/info.c
index 83f2e3e..e155470 100644
--- a/src/info.c
+++ b/src/info.c
@@ -94,10 +94,6 @@ static int handle_info(struct nl802154_state *state,
 		       int argc, char **argv,
 		       enum id_input id)
 {
-	char *feat_args[] = { "features", "-q" };
-
-	handle_cmd(state, CIB_NONE, 2, feat_args);
-
 	nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, print_phy_handler, NULL);
 
 	return 0;
-- 
2.2.2


  reply	other threads:[~2015-01-20 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 20:02 [PATCHv2 wpan-tools 1/2] interface: remove twice phy information Alexander Aring
2015-01-20 20:02 ` Alexander Aring [this message]
2015-01-20 20:30   ` [PATCHv2 wpan-tools 2/2] info: remove unused features argument Stefan Schmidt
2015-01-20 20:30 ` [PATCHv2 wpan-tools 1/2] interface: remove twice phy information Stefan Schmidt

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=1421784155-2670-2-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.