]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_lcore.h
remove extra parentheses in return statement
[dpdk.git] / lib / librte_eal / common / include / rte_lcore.h
index 25460b92fcc1533485b3e1b6f8dc19fa1a18c198..ac15130201c47c7092393fa965b59e9141faa4f6 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;
 }
 
 /**