From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id B21FE68FD for ; Mon, 22 Sep 2014 10:32:05 +0200 (CEST) Received: by mail-wg0-f42.google.com with SMTP id a1so2247828wgh.1 for ; Mon, 22 Sep 2014 01:38:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ig3E1NYUaL+yC4lbAERgXirIIyBdjJNqiTU17ozMsis=; b=InWK/sP0woOY5UXpCaASuSxkJqiwvStBvbFdcltUItb+j50Fe2igzYdLdGeiNVvJ7I 1lmIfP1s+9BShiOSk429mcraPoAOoRpxLDeHOEC94Duznsh/8DgY15wIdxdT2cyYaLos BbVHsZt70bh+U8b2QFIOpZVJ1yV8cCfnkS8nmdlO2Xb0D934vetftp8vR3gM/ujIumpZ pOCXirpK8gG1i81APa4AbtWUeT3G5gWnug/GEpuLNRYy5oyeplWxbBVRhme1WeAAMQxR MKKp3JX0UDJKQwHJvLxfbihZnD88sJoHV/5vRCcAA+mUwn81bZv9rpIbA6goNhQRxMIT 48PQ== X-Gm-Message-State: ALoCoQmGNLlD9eiEhcETGVLiPX0tTtSTPW0VDIv3zPAt8kVBt8i7Z0AkIUhJFQ4GrC1sfgYZdS/C X-Received: by 10.180.10.38 with SMTP id f6mr13675105wib.30.1411375088690; Mon, 22 Sep 2014 01:38:08 -0700 (PDT) Received: from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id js2sm11522334wjc.9.2014.09.22.01.38.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Sep 2014 01:38:08 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Mon, 22 Sep 2014 10:37:55 +0200 Message-Id: <1411375081-27986-2-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1411375081-27986-1-git-send-email-david.marchand@6wind.com> References: <1411375081-27986-1-git-send-email-david.marchand@6wind.com> Subject: [dpdk-dev] [PATCH 1/7] eal: remove unused --use-device option X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 08:32:07 -0000 Following commit cac6d08c8bde2fdb57806c49038187cdb54219a8 and 4bf3fe634a4d9dfce90c4167f3a47d0e2ddf1e64, this option is not available anymore. Signed-off-by: David Marchand --- lib/librte_eal/bsdapp/eal/eal.c | 7 ------- lib/librte_eal/linuxapp/eal/eal.c | 7 ------- 2 files changed, 14 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 2f84742..ffdc441 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -89,7 +89,6 @@ #define OPT_NO_HUGE "no-huge" #define OPT_FILE_PREFIX "file-prefix" #define OPT_SOCKET_MEM "socket-mem" -#define OPT_USE_DEVICE "use-device" #define OPT_PCI_WHITELIST "pci-whitelist" #define OPT_PCI_BLACKLIST "pci-blacklist" #define OPT_VDEV "vdev" @@ -645,12 +644,6 @@ eal_parse_args(int argc, char **argv) "FreeBSD\n"); return -1; } - else if (!strcmp(lgopts[option_index].name, OPT_USE_DEVICE)) { - printf("The --use-device option is deprecated, please use\n" - "--whitelist or --vdev instead.\n"); - eal_usage(prgname); - return -1; - } else if (!strcmp(lgopts[option_index].name, OPT_PCI_BLACKLIST)) { if (rte_eal_devargs_add(RTE_DEVTYPE_BLACKLISTED_PCI, optarg) < 0) { diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 38cace6..633e3b8 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -92,7 +92,6 @@ #define OPT_NO_HUGE "no-huge" #define OPT_FILE_PREFIX "file-prefix" #define OPT_SOCKET_MEM "socket-mem" -#define OPT_USE_DEVICE "use-device" #define OPT_PCI_WHITELIST "pci-whitelist" #define OPT_PCI_BLACKLIST "pci-blacklist" #define OPT_VDEV "vdev" @@ -880,12 +879,6 @@ eal_parse_args(int argc, char **argv) return -1; } } - else if (!strcmp(lgopts[option_index].name, OPT_USE_DEVICE)) { - printf("The --use-device option is deprecated, please use\n" - "--whitelist or --vdev instead.\n"); - eal_usage(prgname); - return -1; - } else if (!strcmp(lgopts[option_index].name, OPT_PCI_BLACKLIST)) { if (rte_eal_devargs_add(RTE_DEVTYPE_BLACKLISTED_PCI, optarg) < 0) { -- 1.7.10.4