replace unused attributes
[dpdk.git] / drivers / common / dpaax / caamflib / compat.h
index ce946cc..36ee4b5 100644 (file)
 #endif
 
 #ifndef __always_unused
-#define __always_unused __attribute__((unused))
+#define __always_unused __rte_unused
 #endif
 
 #ifndef __maybe_unused
-#define __maybe_unused __attribute__((unused))
+#define __maybe_unused __rte_unused
 #endif
 
 #if defined(__GLIBC__) && !defined(pr_debug)