From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id C1D6F7CC0 for ; Fri, 14 Jul 2017 23:12:48 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id u23so12809625wma.2 for ; Fri, 14 Jul 2017 14:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=A47AeI6IkafFUFKtqBt3Ti/Obe+NENK0vp2nm51wKA4=; b=fGW+o2kmX5nJ95NoOWr7gBp0mTTCPqGiq5LD40qCx0ifBjs00dJ7Ho0CCvV3gXGlH1 f95OeXV/Y8tXgOErlaagDQq13hv44EHn0V9cpdjXvnPoGryPriWGxDCZklWtE/gvrKVp aqR7HbtGhF2+/u4E4s0sZ8JyLcBLIbfw70gOFLLu2HyjzIAjsrZNSB676QYsvKRDmTmG Zc9VET8SEP+sTD4h0k9w8BTXLTLNPIV2tEq3swTbpLky4hY+kdi2MZIoJdWuS0cfnWSf uov23jz/zMqxbCfZYRlqjRxB3jHo+N295kf97MIQCxMROCIIBEgpC+u25TDgtZHZwqIg Psmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=A47AeI6IkafFUFKtqBt3Ti/Obe+NENK0vp2nm51wKA4=; b=LSs7dOeZYYwvnVgUvhlcxAtcdEHClD1hqCTZHwir9yeLjxK25k43j7Q2ZcIRuN2gDF HLEFA4JyUMoNXmVTJyA9cBNAPzQxuUD2ySkKNVdmO+8Ub94XNiSml5QH875v33PLP/4f AdIObthgpnh6QVFfmCutmGdg4nd6NRkbRpDzN8VzGkWKFbuYOg+91CE1j4CGllHqxv93 8Ds/S+T/gTXiNT5DyautSpyAKGGCXDVqFSkwUGFlXSNCFpWEu4u1xHPrNnnTZKCjruT8 cqg+VH/Hmm50HGCLlWlLdqjSK92aZyNUe2Tnww9pKQEiPrOCYBStPmr8O4mebwsJghwP 1s/g== X-Gm-Message-State: AIVw113k3GUINl2iXSejTldwyK0e/KlihWRYntEVTtWyRjs/B7t2phv/ CpjCf4/XYiOl3jUK X-Received: by 10.80.173.85 with SMTP id z21mr8444605edc.10.1500066768385; Fri, 14 Jul 2017 14:12:48 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id c11sm4892223eda.0.2017.07.14.14.12.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 14 Jul 2017 14:12:46 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Fri, 14 Jul 2017 17:12:12 -0400 Message-Id: <20170714211213.34436-15-jblunck@infradead.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170714211213.34436-1-jblunck@infradead.org> References: <20170711232512.54641-1-jblunck@infradead.org> <20170714211213.34436-1-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v2 14/15] devargs: remove type field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 21:12:49 -0000 This removes the enum rte_devtype field ``type`` from struct rte_devargs. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_vdev.c | 1 - lib/librte_eal/common/include/rte_devargs.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/librte_eal/common/eal_common_vdev.c b/lib/librte_eal/common/eal_common_vdev.c index d04015582..c785fcc79 100644 --- a/lib/librte_eal/common/eal_common_vdev.c +++ b/lib/librte_eal/common/eal_common_vdev.c @@ -141,7 +141,6 @@ alloc_devargs(const char *name, const char *args) if (!devargs) return NULL; - devargs->type = RTE_DEVTYPE_VIRTUAL; devargs->bus = &rte_vdev_bus; if (args) devargs->args = strdup(args); diff --git a/lib/librte_eal/common/include/rte_devargs.h b/lib/librte_eal/common/include/rte_devargs.h index 10953327f..e3722ca28 100644 --- a/lib/librte_eal/common/include/rte_devargs.h +++ b/lib/librte_eal/common/include/rte_devargs.h @@ -75,8 +75,6 @@ enum rte_devtype { struct rte_devargs { /** Next in list. */ TAILQ_ENTRY(rte_devargs) next; - /** Type of device. */ - enum rte_devtype type; /** Bus handle for the device. */ struct rte_bus *bus; /** Name of the bus the device belongs to. */ -- 2.13.2