test: remove unnecessary cast of void pointer
[dpdk.git] / test / test-pipeline / pipeline_hash.c
index 0c6e04f..991e381 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);