netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: netdev@vger.kernel.org
Cc: Petr Vorel <petr.vorel@gmail.com>,
	Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH iproute2 3/7] configure: Remove unused function check_prog()
Date: Sat, 22 Sep 2018 23:24:47 +0200	[thread overview]
Message-ID: <20180922212451.327-4-petr.vorel@gmail.com> (raw)
In-Reply-To: <20180922212451.327-1-petr.vorel@gmail.com>

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 configure | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure b/configure
index 5ef5cd4c..34325f99 100755
--- a/configure
+++ b/configure
@@ -11,12 +11,6 @@ CONFIG=config.mk
 TMPDIR=$(mktemp -d config.XXXXXX)
 trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
 
-check_prog()
-{
-    echo -n "$2"
-    command -v $1 >/dev/null 2>&1 && (echo "$3:=y" >> $CONFIG; echo "yes") || (echo "no"; return 1)
-}
-
 check_toolchain()
 {
     : ${PKG_CONFIG:=pkg-config}
-- 
2.19.0.rc2

  parent reply	other threads:[~2018-09-23  3:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-22 21:24 [PATCH iproute2 0/7] Minor shell code cleanup Petr Vorel
2018-09-22 21:24 ` [PATCH iproute2 1/7] man: rtpr: Rename s/bash/shell/ Petr Vorel
2018-09-22 21:24 ` [PATCH iproute2 2/7] tests: Use /bin/sh shebang Petr Vorel
2018-09-22 21:24 ` Petr Vorel [this message]
2018-09-22 21:24 ` [PATCH iproute2 4/7] configure: Remove non-posix shell expansion Petr Vorel
2018-09-22 21:24 ` [PATCH iproute2 5/7] configure: Code cleanup Petr Vorel
2018-09-22 21:24 ` [PATCH iproute2 6/7] examples: Remove dhcp-client-script Petr Vorel
2018-09-22 21:24 ` [PATCH iproute2 7/7] examples: Remove cbq.init-v0.7.3 Petr Vorel

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=20180922212451.327-4-petr.vorel@gmail.com \
    --to=petr.vorel@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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 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).