stack: remove unneeded atomic header include
authorJoyce Kong <joyce.kong@arm.com>
Wed, 13 Oct 2021 20:48:12 +0000 (15:48 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 Oct 2021 15:15:10 +0000 (17:15 +0200)
In stack module, remove the header file rte_atomic.h
as it is not being used.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_stack.c
lib/stack/rte_stack.c
lib/stack/rte_stack.h

index 00efb38..bc38961 100644 (file)
@@ -4,7 +4,6 @@
 
 #include <string.h>
 
-#include <rte_atomic.h>
 #include <rte_lcore.h>
 #include <rte_malloc.h>
 #include <rte_random.h>
index 5e56cd9..56bf2c8 100644 (file)
@@ -6,7 +6,6 @@
 #include <sys/queue.h>
 
 #include <rte_string_fns.h>
-#include <rte_atomic.h>
 #include <rte_eal.h>
 #include <rte_eal_memconfig.h>
 #include <rte_errno.h>
index 27640f8..321f4ce 100644 (file)
@@ -19,7 +19,6 @@
 extern "C" {
 #endif
 
-#include <rte_atomic.h>
 #include <rte_compat.h>
 #include <rte_debug.h>
 #include <rte_errno.h>