* [PATCH] eal: remove unused macro for blacklist
@ 2013-10-30 15:34 Thomas Monjalon
[not found] ` <1383147241-3102-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-10-30 15:34 UTC (permalink / raw)
To: dev-VfR2kkLFssw
This macro was used for blacklist parsing but is not used anymore
since commit 5a55b9ac91face71e9d665eecc716201d28745b0.
Signed-off-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
---
lib/librte_eal/linuxapp/eal/eal.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c
index 05998e9..866013d 100644
--- a/lib/librte_eal/linuxapp/eal/eal.c
+++ b/lib/librte_eal/linuxapp/eal/eal.c
@@ -105,18 +105,6 @@
#define BITS_PER_HEX 4
-#define GET_BLACKLIST_FIELD(in, fd, lim, dlm) \
-{ \
- unsigned long val; \
- char *end; \
- errno = 0; \
- val = strtoul((in), &end, 16); \
- if (errno != 0 || end[0] != (dlm) || val > (lim)) \
- return (-EINVAL); \
- (fd) = (typeof (fd))val; \
- (in) = end + 1; \
-}
-
/* Allow the application to print its usage message too if set */
static rte_usage_hook_t rte_application_usage_hook = NULL;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1383147241-3102-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] eal: remove unused macro for blacklist [not found] ` <1383147241-3102-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> @ 2013-11-07 9:34 ` Olivier MATZ [not found] ` <527B5E99.60707-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Olivier MATZ @ 2013-11-07 9:34 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw Hi, On 10/30/2013 04:34 PM, Thomas Monjalon wrote: > This macro was used for blacklist parsing but is not used anymore > since commit 5a55b9ac91face71e9d665eecc716201d28745b0. > > Signed-off-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> Acked-by: Olivier Matz <olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <527B5E99.60707-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] eal: remove unused macro for blacklist [not found] ` <527B5E99.60707-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> @ 2013-11-07 10:57 ` Thomas Monjalon 0 siblings, 0 replies; 3+ messages in thread From: Thomas Monjalon @ 2013-11-07 10:57 UTC (permalink / raw) To: dev-VfR2kkLFssw > > This macro was used for blacklist parsing but is not used anymore > > since commit 5a55b9ac91face71e9d665eecc716201d28745b0. > > > > Signed-off-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> > > Acked-by: Olivier Matz <olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> pushed -- Thomas ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-07 10:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 15:34 [PATCH] eal: remove unused macro for blacklist Thomas Monjalon
[not found] ` <1383147241-3102-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-11-07 9:34 ` Olivier MATZ
[not found] ` <527B5E99.60707-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-11-07 10:57 ` Thomas Monjalon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).