[08/32] power: remove use of RTE STD C11 macro

Message ID 1691792567-10805-9-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/power/rte_power.h | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/lib/power/rte_power.h b/lib/power/rte_power.h
index 5e2b87c..4d70d9a 100644
--- a/lib/power/rte_power.h
+++ b/lib/power/rte_power.h
@@ -216,10 +216,8 @@  typedef uint32_t (*rte_power_freqs_t)(unsigned int lcore_id, uint32_t *freqs,
  * Power capabilities summary.
  */
 struct rte_power_core_capabilities {
-	RTE_STD_C11
 	union {
 		uint64_t capabilities;
-		RTE_STD_C11
 		struct {
 			uint64_t turbo:1;	/**< Turbo can be enabled. */
 			uint64_t priority:1;	/**< SST-BF high freq core */