net/nfp: fix unused header reference

Message ID 1528710932-8658-1-git-send-email-alejandro.lucero@netronome.com (mailing list archive)
State Not Applicable, archived
Headers
Series net/nfp: fix unused header reference |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK

Commit Message

Alejandro Lucero June 11, 2018, 9:55 a.m. UTC
  Apart from not being used, this is causing problem when compiling
DPDK with the musl library as reported by bugzilla.

Bugzilla ID: 40
Fixes: c7e9729da6b5 ("net/nfp: support CPP")

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
 drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Alejandro Lucero June 11, 2018, 9:56 a.m. UTC | #1
I forgot to add the V2.

I will send it again.

Apologies.

On Mon, Jun 11, 2018 at 10:55 AM, Alejandro Lucero <
alejandro.lucero@netronome.com> wrote:

> Apart from not being used, this is causing problem when compiling
> DPDK with the musl library as reported by bugzilla.
>
> Bugzilla ID: 40
> Fixes: c7e9729da6b5 ("net/nfp: support CPP")
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
> ---
>  drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
> b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
> index b8541c5..d46574b 100644
> --- a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
> +++ b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
> @@ -13,7 +13,6 @@
>  #include <stdlib.h>
>  #include <ctype.h>
>  #include <inttypes.h>
> -#include <sys/cdefs.h>
>  #include <sys/stat.h>
>  #include <limits.h>
>  #include <errno.h>
> --
> 1.9.1
>
>
  

Patch

diff --git a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
index b8541c5..d46574b 100644
--- a/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
+++ b/drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h
@@ -13,7 +13,6 @@ 
 #include <stdlib.h>
 #include <ctype.h>
 #include <inttypes.h>
-#include <sys/cdefs.h>
 #include <sys/stat.h>
 #include <limits.h>
 #include <errno.h>