From: Thomas Monjalon Date: Wed, 30 Oct 2013 15:26:14 +0000 (+0100) Subject: eal: remove unused macro for blacklist X-Git-Tag: spdx-start~10972 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=46d4e6f7addd14cda8a7eb8822248d7d09e35cc7;p=dpdk.git eal: remove unused macro for blacklist This macro was used for blacklist parsing but is not used anymore since commit 5a55b9ac91face71e9d665eecc716201d28745b0. Signed-off-by: Thomas Monjalon Acked-by: Olivier Matz --- diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index b7637e35c0..d572bda457 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;