[v1,13/19] rawdev: remove unneeded header includes

Message ID 20220421190859.264174-14-sean.morrissey@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series remove IWYU flagged headers |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Sean Morrissey April 21, 2022, 7:08 p.m. UTC
  These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/rawdev/rte_rawdev.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Hemant Agrawal April 22, 2022, 4:51 a.m. UTC | #1
Acked-by:  Hemant Agrawal <hemant.agrawal@nxp.com>

> -----Original Message-----
> From: Sean Morrissey <sean.morrissey@intel.com>
> Sent: Friday, April 22, 2022 12:39 AM
> To: Nipun Gupta <nipun.gupta@nxp.com>; Hemant Agrawal
> <hemant.agrawal@nxp.com>
> Cc: dev@dpdk.org; Sean Morrissey <sean.morrissey@intel.com>
> Subject: [PATCH v1 13/19] rawdev: remove unneeded header includes
> Importance: High
> 
> These header includes have been flagged by the iwyu_tool and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
> ---
>  lib/rawdev/rte_rawdev.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h index
> 14e8eb972f..66080eae9e 100644
> --- a/lib/rawdev/rte_rawdev.h
> +++ b/lib/rawdev/rte_rawdev.h
> @@ -20,7 +20,6 @@ extern "C" {
> 
>  #include <rte_common.h>
>  #include <rte_memory.h>
> -#include <rte_errno.h>
> 
>  /* Rawdevice object - essentially a void to be typecast by implementation */
> typedef void *rte_rawdev_obj_t;
> --
> 2.25.1
  

Patch

diff --git a/lib/rawdev/rte_rawdev.h b/lib/rawdev/rte_rawdev.h
index 14e8eb972f..66080eae9e 100644
--- a/lib/rawdev/rte_rawdev.h
+++ b/lib/rawdev/rte_rawdev.h
@@ -20,7 +20,6 @@  extern "C" {
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_errno.h>
 
 /* Rawdevice object - essentially a void to be typecast by implementation */
 typedef void *rte_rawdev_obj_t;