eal: remove unused macro for blacklist
PATCH 1/1 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 <[email protected]>
--- lib/librte_eal/linuxapp/eal/eal.c | 12 ------------ 1 file changed, 12 deletions(-)
lib/librte_eal/linuxapp/eal/eal.c +0 -12
@@ -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
Olivier MATZ
Acked-byHi,
Quoted 4 lines · Thomas Monjalon
This macro was used for blacklist parsing but is not used anymore since commit
5a55b9ac91face71e9d665eecc716201d28745b0.Signed-off-by Thomas Monjalon <[email protected]>
Acked-by Olivier Matz <[email protected]>
Quoted 6 lines
Quoted 4 lines
This macro was used for blacklist parsing but is not used anymore since commit
5a55b9ac91face71e9d665eecc716201d28745b0.Signed-off-by Thomas Monjalon <[email protected]>Acked-by Olivier Matz <[email protected]>
pushed
Signature · 1 line
Thomas