From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 7D4EF567F for ; Wed, 20 Apr 2016 14:44:13 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id n3so79802591wmn.0 for ; Wed, 20 Apr 2016 05:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/YFPSqzNjDseFAv0Fx7R9osXBfcKpOUS7yvWFh/umtc=; b=mLXCyG+W3OuKp7iWnARlMXQAjmkc61wkckenkShWlsDb1ksnRkkxwzcnd6aCqNoR6M 0fckXY59DVK4pH/mWW5gRwTpoUnA1RK5lFE2Msr6Oun8f0UETq9wZS3y7CyORmWMJM7D cW+Z4qijAIJ3MjqFHUlaS1WFtyvzUrLab/q66KIM4wDknSyMtujWlCS3+FuVtL8JFA97 CJQV8oTJbU6cljaNSBbk228/Fph5T1ylMBNLk8903bRO+ttz3J7g3EzfBjwBmtBfoXxa 6E9a4iouIOzkXlaunOkGfYOHzCFUHAshURZgh/WKg2ple6GwitAzx8sp0Fi+OZrlvsIW dYBA== 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=/YFPSqzNjDseFAv0Fx7R9osXBfcKpOUS7yvWFh/umtc=; b=S5PQJt+oaAd4lHrYOdfII1F743ULpoWcg6gcQMV2z7VGiT56IyqlzXGC+bk1eRbLff xgdO6tbzE4NIxyokmYJO2BMi7ttmwKb2nsJbsGReTm0KGojwqFYIPYTktRwfxUmMYwmD UbbCujTJDohpHzQz4mgbVuMRIxWwxsGDVN0dJq9ENfWph7gTw6IxYx1OrXzEyFl4xb8K 7h6bWZeLhRMHHW5JB7nEhFgqVGUiSbOQZbaOEU+cPgFk7vzLOfuYtzbDdAgZHg+7Wfah 99s1qXCjPUC0zq8xRaQu7sri27LU4FgoFXzs7keEoMA+e1q1HQg+q/FVNo1vq1JJ/7HR Tc0A== X-Gm-Message-State: AOPr4FWXs0LHsj1SAYZcBiyzgu0BYFbZB4VLZNxe+dXkuJcVWeEXmpnXgJCggBRZlhC5x9mP X-Received: by 10.28.26.138 with SMTP id a132mr29070963wma.20.1461156253386; Wed, 20 Apr 2016 05:44:13 -0700 (PDT) Received: from gloops.dev.6wind.com (144.77.126.78.rev.sfr.net. [78.126.77.144]) by smtp.gmail.com with ESMTPSA id j10sm5428135wjb.46.2016.04.20.05.44.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2016 05:44:12 -0700 (PDT) From: David Marchand To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, stephen@networkplumber.org, bruce.richardson@intel.com, nhorman@tuxdriver.com, pmatilai@redhat.com, christian.ehrhardt@canonical.com, Jan Medala , Jakub Palider , Netanel Belgazal , Evgeny Schemeilin Date: Wed, 20 Apr 2016 14:43:52 +0200 Message-Id: <1461156236-25349-10-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461156236-25349-1-git-send-email-david.marchand@6wind.com> References: <1453120248-28274-1-git-send-email-david.marchand@6wind.com> <1461156236-25349-1-git-send-email-david.marchand@6wind.com> Subject: [dpdk-dev] [PATCH v3 09/13] ena: remove unneeded pci macro 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: Wed, 20 Apr 2016 12:44:13 -0000 I suppose this is a remnant of rte_pci_dev_ids.h, just remove this. Signed-off-by: David Marchand --- drivers/net/ena/ena_ethdev.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index 2b60a67..efa5e31 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -80,11 +80,9 @@ #define PCI_DEVICE_ID_ENA_LLQ_VF 0xEC21 static struct rte_pci_id pci_id_ena_map[] = { -#define RTE_PCI_DEV_ID_DECL_ENA(vend, dev) {RTE_PCI_DEVICE(vend, dev)}, - - RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF) - RTE_PCI_DEV_ID_DECL_ENA(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF) - {.device_id = 0}, + { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_VF) }, + { RTE_PCI_DEVICE(PCI_VENDOR_ID_AMAZON, PCI_DEVICE_ID_ENA_LLQ_VF) }, + { .device_id = 0 }, }; static int ena_device_init(struct ena_com_dev *ena_dev, -- 1.9.1