From patchwork Sat Sep 22 21:24:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 973621 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mqck7VLi"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42Hk5S71XSz9sBn for ; Sun, 23 Sep 2018 07:25:16 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbeIWDUG (ORCPT ); Sat, 22 Sep 2018 23:20:06 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:35857 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728189AbeIWDUG (ORCPT ); Sat, 22 Sep 2018 23:20:06 -0400 Received: by mail-wr1-f46.google.com with SMTP id e1-v6so16050425wrt.3 for ; Sat, 22 Sep 2018 14:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Db+tDz9UjuZxDDKKS6l8bWQ0DypJpJceollnYPpjx04=; b=mqck7VLiQx2JR3JUZSp9wYJPujCNhcbg0BjdF1acl4uwWl9524eceU9CwxxDkHucY9 CgDY4y8L0W/3DelWriXhOrUlt8B0NwGdHWvUGDhkoclbBeJKUADujEJHtk0ezwUQaF6K B8WLnHNb8zi2cn6xswBrGDDIA8XP9I75Gpb0SH0eg8sDHK9LViI1vs1tVHLuucX5FBoH wFLjEOh4RHhynEK4z8Yp4VQ3hNlHMsmz8ZHMLmhw0igsoPkvuxExkkmXZZ1vK417wbaQ DuPEESfWmiL7HxlXtxd3UaroLphWedPCGQFTGwkO57sBuoIj3jOAqtYM9+R25pH6At3k z48A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Db+tDz9UjuZxDDKKS6l8bWQ0DypJpJceollnYPpjx04=; b=R43Kafq6wV4OvlYiEmYGQzerSzOKR1+Vxsc5acRLptYfd9k7qrTgFsZFemuPivAvcX HgXDJgAjK77HebD5yiqF+6qLMQzzy9tWia/sVySwb5gYzFWHSrWAly8Ga17RJth6IQlg D65mTb0u1LIqLQqd/wKD/ySD4tZgFcybw7PeBO6o78ZXYaA110OrC/8+R2FzA/Yn99Q1 uufRQLGjKVt43C1JlOlFwcmZX15KhHsqN9LV4JQvv4ezzVjlttZUW/w5S6W+PY3oTm6I suI15HSEdUYn0ayX+RxhLoWkhyF+JRItlJJOe5EXdm4/tbVFnTEEshcC8BZ/TfQ9XBzl 55qg== X-Gm-Message-State: ABuFfoga5ZyGbXBjeMqk5Bdw4BmoCYbWiaID/7J+PfuTgWbY9ebImj9R jVrJjbuddrs1F7xRr5eKJpn7TGj6 X-Google-Smtp-Source: ACcGV61+n0ZpoAVHrqX1G5jWVmRxzSkudD9E4lnP2uf9Q78zh0NAYw01S0Wmt90BirigTXueFgl65Q== X-Received: by 2002:adf:9a62:: with SMTP id z89-v6mr3140105wrb.53.1537651504741; Sat, 22 Sep 2018 14:25:04 -0700 (PDT) Received: from localhost.localdomain ([85.119.94.113]) by smtp.gmail.com with ESMTPSA id 75-v6sm16110032wml.21.2018.09.22.14.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 14:25:03 -0700 (PDT) From: Petr Vorel To: netdev@vger.kernel.org Cc: Petr Vorel , Stephen Hemminger Subject: [PATCH iproute2 3/7] configure: Remove unused function check_prog() Date: Sat, 22 Sep 2018 23:24:47 +0200 Message-Id: <20180922212451.327-4-petr.vorel@gmail.com> X-Mailer: git-send-email 2.19.0.rc2 In-Reply-To: <20180922212451.327-1-petr.vorel@gmail.com> References: <20180922212451.327-1-petr.vorel@gmail.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Petr Vorel --- 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}