From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Viktorin Subject: [PATCH v1 06/15] eal: remove PMD_REGISTER_DRIVER Date: Fri, 8 Jul 2016 21:09:36 +0200 Message-ID: <20160708190945.24225-7-viktorin@rehivetech.com> References: <20160708190945.24225-1-viktorin@rehivetech.com> Cc: Jan Viktorin , Shreyansh Jain , thomas.monjalon@6wind.com, David Marchand To: dev@dpdk.org Return-path: Received: from wes1-so1.wedos.net (wes1-so1.wedos.net [46.28.106.15]) by dpdk.org (Postfix) with ESMTP id 8CCC2ADAB for ; Fri, 8 Jul 2016 21:10:36 +0200 (CEST) In-Reply-To: <20160708190945.24225-1-viktorin@rehivetech.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" All devices register themselfs by calling a kind of RTE_EAL_*_REGISTER. The PMD_REGISTER_DRIVER is not used anymore. Signed-off-by: Jan Viktorin --- lib/librte_eal/common/include/rte_dev.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index 63fc454..2fa85f7 100644 --- a/lib/librte_eal/common/include/rte_dev.h +++ b/lib/librte_eal/common/include/rte_dev.h @@ -191,16 +191,4 @@ int rte_eal_dev_attach(const char *name, const char *devargs); */ int rte_eal_dev_detach(const char *name); -#define PMD_REGISTER_DRIVER(d)\ -RTE_INIT(devinitfn_ ##d);\ -static void devinitfn_ ##d(void)\ -{\ - rte_eal_driver_register(&d);\ -} - - -#ifdef __cplusplus -} -#endif - #endif /* _RTE_VDEV_H_ */ -- 2.9.0