remove extra parentheses in return statement
[dpdk.git] / lib / librte_eal / common / include / rte_lcore.h
index 25460b9..ac15130 100644 (file)
@@ -175,7 +175,7 @@ rte_lcore_is_enabled(unsigned lcore_id)
        struct rte_config *cfg = rte_eal_get_configuration();
        if (lcore_id >= RTE_MAX_LCORE)
                return 0;
-       return (cfg->lcore_role[lcore_id] != ROLE_OFF);
+       return cfg->lcore_role[lcore_id] != ROLE_OFF;
 }
 
 /**