]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mempool_perf.c
replace unused attributes
[dpdk.git] / app / test / test_mempool_perf.c
index 4c877834e7b8def3502805490f9295b1e11f8824..60bda8aadbe88eacd8d6b4d86a21aa6f44a32856 100644 (file)
@@ -104,7 +104,7 @@ static struct mempool_test_stats stats[RTE_MAX_LCORE];
  * other bytes are set to 0.
  */
 static void
-my_obj_init(struct rte_mempool *mp, __attribute__((unused)) void *arg,
+my_obj_init(struct rte_mempool *mp, __rte_unused void *arg,
            void *obj, unsigned i)
 {
        uint32_t *objnum = obj;