]> git.droids-corp.org - dpdk.git/blobdiff - test/test-pipeline/pipeline_hash.c
test: remove unnecessary cast of void pointer
[dpdk.git] / test / test-pipeline / pipeline_hash.c
index 0c6e04f7883ab078a0d90b8ebd510e3bf02df413..991e381e21896334b9cbec22cfe46ef15fa8268c 100644 (file)
@@ -480,7 +480,7 @@ uint64_t test_hash(
        __attribute__((unused)) uint32_t key_size,
        __attribute__((unused)) uint64_t seed)
 {
-       uint32_t *k32 = (uint32_t *) key;
+       uint32_t *k32 = key;
        uint32_t ip_dst = rte_be_to_cpu_32(k32[0]);
        uint64_t signature = (ip_dst >> 2) | ((ip_dst & 0x3) << 30);