[04/32] sched: remove use of RTE STD C11 macro

Message ID 1691792567-10805-5-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series Remove use and definition of RTE_STD_C11 macro |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Tyler Retzlaff Aug. 11, 2023, 10:22 p.m. UTC
  C11 conformant compiler is documented as a minimum requirement to build
and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11
features with __extension__ since it is no longer necessary.

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
 lib/sched/rte_sched.c | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index a1ca710..751f6cf 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -81,7 +81,6 @@  struct rte_sched_queue {
 
 struct rte_sched_queue_extra {
 	struct rte_sched_queue_stats stats;
-	RTE_STD_C11
 	union {
 		struct rte_red red;
 		struct rte_pie pie;
@@ -180,7 +179,6 @@  struct rte_sched_subport {
 	bool cman_enabled;
 	enum rte_sched_cman_mode cman;
 
-	RTE_STD_C11
 	union {
 		struct rte_red_config red_config[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE][RTE_COLORS];
 		struct rte_pie_config pie_config[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];