* [dpdk-dev] [PATCH] eal: remove unused macro for blacklist
@ 2013-10-30 15:34 Thomas Monjalon
2013-11-07 9:34 ` Olivier MATZ
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-10-30 15:34 UTC (permalink / raw)
To: dev
This macro was used for blacklist parsing but is not used anymore
since commit 5a55b9ac91face71e9d665eecc716201d28745b0.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
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 [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] eal: remove unused macro for blacklist
2013-10-30 15:34 [dpdk-dev] [PATCH] eal: remove unused macro for blacklist Thomas Monjalon
@ 2013-11-07 9:34 ` Olivier MATZ
2013-11-07 10:57 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Olivier MATZ @ 2013-11-07 9:34 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
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@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] eal: remove unused macro for blacklist
2013-11-07 9:34 ` Olivier MATZ
@ 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
> > This macro was used for blacklist parsing but is not used anymore
> > since commit 5a55b9ac91face71e9d665eecc716201d28745b0.
> >
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
>
> Acked-by: Olivier Matz <olivier.matz@6wind.com>
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 [dpdk-dev] [PATCH] eal: remove unused macro for blacklist Thomas Monjalon
2013-11-07 9:34 ` Olivier MATZ
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).