bus/fslmc: remove unused include of error.h
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 13 Mar 2019 17:06:48 +0000 (18:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 31 Mar 2019 00:02:05 +0000 (01:02 +0100)
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.

Fixes: 531b17a780dc ("bus/fslmc: add QBMAN driver to bus")
Cc: stable@dpdk.org
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
drivers/bus/fslmc/qbman/include/compat.h

index 655bff4..e85a90c 100644 (file)
@@ -17,7 +17,6 @@
 #include <string.h>
 #include <malloc.h>
 #include <unistd.h>
-#include <error.h>
 #include <linux/types.h>
 #include <rte_atomic.h>