[v5,41/50] eventdev: remove unneeded header includes
Checks
Commit Message
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
lib/eventdev/rte_event_ring.c | 6 ------
lib/eventdev/rte_event_ring.h | 2 --
lib/eventdev/rte_event_timer_adapter.c | 5 -----
lib/eventdev/rte_event_timer_adapter.h | 2 --
lib/eventdev/rte_eventdev.c | 11 -----------
lib/eventdev/rte_eventdev.h | 2 --
6 files changed, 28 deletions(-)
Comments
> -----Original Message-----
> From: Morrissey, Sean <sean.morrissey@intel.com>
> Sent: Monday, January 17, 2022 2:20 PM
> To: Jerin Jacob <jerinj@marvell.com>; Carrillo, Erik G
> <erik.g.carrillo@intel.com>
> Cc: dev@dpdk.org; Morrissey, Sean <sean.morrissey@intel.com>
> Subject: [PATCH v5 41/50] eventdev: remove unneeded header includes
>
> These header includes have been flagged by the iwyu_tool and removed.
>
> Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Thanks, Sean. The timer adapter changes LGTM.
Regards,
Erik
@@ -3,13 +3,7 @@
* Copyright(c) 2019 Arm Limited
*/
-#include <sys/queue.h>
-#include <string.h>
-#include <rte_tailq.h>
-#include <rte_memzone.h>
-#include <rte_rwlock.h>
-#include <rte_eal_memconfig.h>
#include "rte_event_ring.h"
int
@@ -17,8 +17,6 @@
#include <stdint.h>
#include <rte_common.h>
-#include <rte_memory.h>
-#include <rte_malloc.h>
#include <rte_ring.h>
#include <rte_ring_elem.h>
#include "rte_eventdev.h"
@@ -6,19 +6,14 @@
#include <string.h>
#include <inttypes.h>
#include <stdbool.h>
-#include <sys/queue.h>
#include <rte_memzone.h>
-#include <rte_memory.h>
-#include <rte_dev.h>
#include <rte_errno.h>
#include <rte_malloc.h>
-#include <rte_ring.h>
#include <rte_mempool.h>
#include <rte_common.h>
#include <rte_timer.h>
#include <rte_service_component.h>
-#include <rte_cycles.h>
#include "event_timer_adapter_pmd.h"
#include "eventdev_pmd.h"
@@ -111,8 +111,6 @@
extern "C" {
#endif
-#include <rte_spinlock.h>
-#include <rte_memory.h>
#include "rte_eventdev.h"
#include "rte_eventdev_trace_fp.h"
@@ -6,26 +6,15 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdarg.h>
#include <errno.h>
#include <stdint.h>
#include <inttypes.h>
-#include <sys/types.h>
-#include <sys/queue.h>
#include <rte_string_fns.h>
-#include <rte_byteorder.h>
#include <rte_log.h>
-#include <rte_debug.h>
#include <rte_dev.h>
-#include <rte_memory.h>
-#include <rte_memcpy.h>
#include <rte_memzone.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
-#include <rte_lcore.h>
-#include <rte_atomic.h>
-#include <rte_branch_prediction.h>
#include <rte_common.h>
#include <rte_malloc.h>
#include <rte_errno.h>
@@ -211,10 +211,8 @@ extern "C" {
#endif
#include <rte_common.h>
-#include <rte_config.h>
#include <rte_errno.h>
#include <rte_mbuf_pool_ops.h>
-#include <rte_memory.h>
#include <rte_mempool.h>
#include "rte_eventdev_trace_fp.h"