[dpdk-dev] [PATCH v3 06/15] bus/fslmc: remove unused include of error.h
Natanael Copa
ncopa at alpinelinux.org
Wed Mar 13 18:06:48 CET 2019
Fixes following build error with musl libc:
In file included from ../drivers/bus/fslmc/qbman/qbman_debug.c:6:
../drivers/bus/fslmc/qbman/include/compat.h:21:10: fatal error: error.h: No such file or directory
#include <error.h>
^~~~~~~~~
Apparently it is not used anywere in qbman so simply remove the include.
Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
drivers/bus/fslmc/qbman/include/compat.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/bus/fslmc/qbman/include/compat.h b/drivers/bus/fslmc/qbman/include/compat.h
index ae84528b9..1ddd69e12 100644
--- a/drivers/bus/fslmc/qbman/include/compat.h
+++ b/drivers/bus/fslmc/qbman/include/compat.h
@@ -18,7 +18,6 @@
#include <string.h>
#include <malloc.h>
#include <unistd.h>
-#include <error.h>
#include <linux/types.h>
#include <rte_atomic.h>
--
2.21.0
More information about the dev
mailing list