]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_mempool.c
lib: remove unnecessary void cast
[dpdk.git] / lib / librte_mempool / rte_mempool.c
index ef7d3d15bde9a86f138b51faa86c22714327dd3a..f65310f60a84d9c455832ddfda1b2bf82ba3e812 100644 (file)
@@ -1044,7 +1044,7 @@ void rte_mempool_check_cookies(const struct rte_mempool *mp,
        /* Force to drop the "const" attribute. This is done only when
         * DEBUG is enabled */
        tmp = (void *) obj_table_const;
-       obj_table = (void **) tmp;
+       obj_table = tmp;
 
        while (n--) {
                obj = obj_table[n];