]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/eal.c
lib: remove unnecessary void cast
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal.c
index d98d56d2fca2d2c54d43839b6172bc96864c8137..266150c22328b1ef26caf95d5da7e1a10a4147b6 100644 (file)
@@ -212,7 +212,7 @@ rte_eal_config_create(void)
                rte_panic("Cannot mmap memory for rte_config\n");
        }
        memcpy(rte_mem_cfg_addr, &early_mem_config, sizeof(early_mem_config));
-       rte_config.mem_config = (struct rte_mem_config *) rte_mem_cfg_addr;
+       rte_config.mem_config = rte_mem_cfg_addr;
 
        /* store address of the config in the config itself so that secondary
         * processes could later map the config into this exact location */