lib: remove extra parenthesis after return
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal.c
index 5e25469..4ee3ad2 100644 (file)
@@ -593,11 +593,11 @@ rte_eal_init(int argc, char **argv)
 enum rte_lcore_role_t
 rte_eal_lcore_role(unsigned lcore_id)
 {
-       return (rte_config.lcore_role[lcore_id]);
+       return rte_config.lcore_role[lcore_id];
 }
 
 enum rte_proc_type_t
 rte_eal_process_type(void)
 {
-       return (rte_config.process_type);
+       return rte_config.process_type;
 }