From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id BF34D7CB8 for ; Wed, 12 Jul 2017 01:25:47 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id x23so1758142wrb.0 for ; Tue, 11 Jul 2017 16:25:47 -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=Wj6HoYsVwqmFdIOOl7tU/Q3XvPbEUliE92VnX0Q7hHc=; b=JgEKPW4AOv98ZawajhnSUpOcnXi3fI63tCXwX9IEVQcgEHnFraq76ZA0xPluVED+bj 8XKCouYnpjJyLYo6l2FvWXRw1oiQ8t3qu46mzZDXcH6tgyr7/SfCdWPeUw0aycq9b59Z 6uGOEv710VhYuBevIGvQ/MVAGjnJukPtAnhyWYsAxh7ISPR7vFAWN8t8Vd/6usP86Z2C YREFACdT9msr8jDa2YdPsxdAF7FKZdQXhuPUK4mn2vl9aBhg2cpqY7TC/f4glIyxpj3y A6cLZ6bM8jE0fFAiLvC+AI+isWGo0Y6JtJY2WWi4OeVQus0SzIOz+ni0sHqz3nQoQl6Z paag== 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=Wj6HoYsVwqmFdIOOl7tU/Q3XvPbEUliE92VnX0Q7hHc=; b=i5mnYq/YPtss7oHVMlWUjODak4Sz9U0AjWm7Oss6+QWuh9ORTdY5h54sm2BYxg5ZoZ NyE7wZx0sEgSbeKP2cDrDslmXYrAmvGMfnJsV/wxqhe9hvN3ADbAW9sMnqgEfU46kUdg e20IU5tyY4mGTVUpErHarkEh1ndkfVJQqPb2nUamwmIU0ZOtws2RReGRrOFa4zfxZkl7 6/EEuJbop/1A7TTUEsRyTyxKwCucXgfP4uG6pVXcqjIWNRlnb9GpNrvwYFyQZddZ5kLI sDnuecW/h8Q2aryxYVQKItPCfYScoqkpbRExgEIOmZhNi0AwQEH8KJTsZsuxMvEicc5T 4UqQ== X-Gm-Message-State: AIVw110xNWhNMxERiTcsVZyQ9j09mpWbHJC17ED70OcUHTrAvwHgZZAW i9O1wlH8Lr85enlQ X-Received: by 10.80.144.174 with SMTP id c43mr4116272eda.139.1499815547396; Tue, 11 Jul 2017 16:25:47 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id k45sm311516ede.16.2017.07.11.16.25.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Jul 2017 16:25:46 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Tue, 11 Jul 2017 19:25:11 -0400 Message-Id: <20170711232512.54641-13-jblunck@infradead.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711232512.54641-1-jblunck@infradead.org> References: <20170711232512.54641-1-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH 12/13] 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: Tue, 11 Jul 2017 23:25:48 -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 29631cbaa..6977c4fc4 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