From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH 10/10] eal: no need for E_RTE_NO_TAILQ anymore Date: Wed, 4 Mar 2015 22:50:10 +0100 Message-ID: <1425505810-9269-11-git-send-email-david.marchand@6wind.com> References: <1425505810-9269-1-git-send-email-david.marchand@6wind.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1425505810-9269-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" There is no remaining reference to this errno. Signed-off-by: David Marchand --- app/test/test_errno.c | 2 +- lib/librte_eal/common/eal_common_errno.c | 2 -- lib/librte_eal/common/include/rte_errno.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/test/test_errno.c b/app/test/test_errno.c index c903b19..f221eac 100644 --- a/app/test/test_errno.c +++ b/app/test/test_errno.c @@ -58,7 +58,7 @@ test_errno(void) /* use a small selection of standard errors for testing */ int std_errs[] = {EAGAIN, EBADF, EACCES, EINTR, EINVAL}; /* test ALL registered RTE error codes for overlap */ - int rte_errs[] = {E_RTE_SECONDARY, E_RTE_NO_CONFIG, E_RTE_NO_TAILQ}; + int rte_errs[] = {E_RTE_SECONDARY, E_RTE_NO_CONFIG}; unsigned i; rte_errno = 0; diff --git a/lib/librte_eal/common/eal_common_errno.c b/lib/librte_eal/common/eal_common_errno.c index 259f895..de48d8e 100644 --- a/lib/librte_eal/common/eal_common_errno.c +++ b/lib/librte_eal/common/eal_common_errno.c @@ -64,8 +64,6 @@ rte_strerror(int errnum) return "Invalid call in secondary process"; case E_RTE_NO_CONFIG: return "Missing rte_config structure"; - case E_RTE_NO_TAILQ: - return "No TAILQ initialised"; default: strerror_r(errnum, RTE_PER_LCORE(retval), RETVAL_SZ); } diff --git a/lib/librte_eal/common/include/rte_errno.h b/lib/librte_eal/common/include/rte_errno.h index 45910cd..2e5cc45 100644 --- a/lib/librte_eal/common/include/rte_errno.h +++ b/lib/librte_eal/common/include/rte_errno.h @@ -84,7 +84,6 @@ enum { E_RTE_SECONDARY, /**< Operation not allowed in secondary processes */ E_RTE_NO_CONFIG, /**< Missing rte_config */ - E_RTE_NO_TAILQ, /**< Uninitialised TAILQ */ RTE_MAX_ERRNO /**< Max RTE error number */ }; -- 1.7.10.4