From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 1A7667CBD for ; Wed, 12 Jul 2017 01:25:49 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id 77so1729985wrb.3 for ; Tue, 11 Jul 2017 16:25:49 -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=8X+M48lcN4PQSunX+WHZz6I1Od07s8ZfRMEoRlv3Xps=; b=a5ON1NNypgMTMIclL/Q8TVgISkyuQFo5SBZYpvBlUTBhxXYwkAXOj3t21JhqNRXWyJ /qTDD75iOX/Y5bT8XtxhA10ZTMoox3jr9QOSAUFVWVQ+NTwRWoG21/yS4OykhzJjlfGO EP2gkAgfBfE8bC/yCoAnj23gINGT7c2QIy1XOpq+VdQbHlafTAaXgbKFRrMtxlV/gcb0 /MFDPiZxdLtaH/gXOOodKt1+eKwS4bwY9Q3VtDJ34TQDvSqZuPu2XNKNTJd52w+xLxli 59xxSp5cx/ZqZzWSFC47SpfVzhmvQ0u+HKP+QxSQYRKI5+fBYM18M6uqF17AZan6jUcT cfCQ== 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=8X+M48lcN4PQSunX+WHZz6I1Od07s8ZfRMEoRlv3Xps=; b=UfQJxecnQwaKIPje6wBfDwhscLRYhc5dBpOiYwNoMgRR5My6yVzs/y8u5o/q/JAZZx LaDK6nZVr8A6+LLMt60cize/moUm68D18y0NRupisHSk6/Iwk23GiGxI+FjaQm79ss85 d29uCHJg9MnrzWKtaEOg1oP7gZn1oA203NFcrMG8FWeWgRx53rBRs5+bn8xVd5knxlZA WzkgKoI4yxVe/jOz+JRWigdiGcZd/L29izcWm0w3vxr6v6CXt/sHMiST5ImtjvLlkVI2 8XG57jYQiieydEG+EO30+j7dSJ8OIUw8qYJkp4h4HeqTup34dzJCr4UX5C0875u/RfBh eojw== X-Gm-Message-State: AIVw111sswGeeD/RpPVV3Z8dX+60g+jCkL+hdBMj4pxDApmZh3t6kdFC UOW0THz+b/v4IMPJ X-Received: by 10.80.186.93 with SMTP id 29mr4114179eds.47.1499815548598; Tue, 11 Jul 2017 16:25:48 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id k45sm311516ede.16.2017.07.11.16.25.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Jul 2017 16:25:47 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Tue, 11 Jul 2017 19:25:12 -0400 Message-Id: <20170711232512.54641-14-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 13/13] devargs: remove bus 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:49 -0000 This removes the enum rte_bus field ``bus`` 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 c785fcc79..b33f15b03 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->bus = &rte_vdev_bus; if (args) devargs->args = strdup(args); else diff --git a/lib/librte_eal/common/include/rte_devargs.h b/lib/librte_eal/common/include/rte_devargs.h index 6977c4fc4..db9b0eb74 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; - /** Bus handle for the device. */ - struct rte_bus *bus; /** Name of the bus the device belongs to. */ char busname[RTE_DEV_NAME_MAX_LEN]; /** Name of the device. */ -- 2.13.2