Skip to contentSkip to conversation

eal: remove unused macro for blacklist

PATCH In review Thomas Monjalon 2 participants 3 messages Oct 30, 2013 – Nov 7, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eal: remove unused macro for blacklist

This macro was used for blacklist parsing but is not used anymore since commit 5a55b9ac91face71e9d665eecc716201d28745b0.

---
 lib/librte_eal/linuxapp/eal/eal.c |   12 ------------
 1 file changed, 12 deletions(-)
lib/librte_eal/linuxapp/eal/eal.c +0 -12
index 05998e9..866013d 100644
@@ -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;
 
Signature · 1 line
1.7.10.4

A message that is not in the archive (sent off-list or not yet received): 1383147241-3102-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): [email protected]