summaryrefslogtreecommitdiff
path: root/test/test-pipeline
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-04-07 13:44:57 -0400
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-11 18:05:10 +0200
commit4b6fa6d32d2acfce5960522ba904929ee5274eb7 (patch)
treecddb69b0d2a367675185001a81b72842b105ce24 /test/test-pipeline
parentc5ba278876f70c274eb5a6c0c442c65e52b4b88e (diff)
downloaddpdk-4b6fa6d32d2acfce5960522ba904929ee5274eb7.zip
dpdk-4b6fa6d32d2acfce5960522ba904929ee5274eb7.tar.gz
dpdk-4b6fa6d32d2acfce5960522ba904929ee5274eb7.tar.xz
test: remove unnecessary cast of void pointer
Remove unnecessary casts of void * pointers to a specific type. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'test/test-pipeline')
-rw-r--r--test/test-pipeline/pipeline_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-pipeline/pipeline_hash.c b/test/test-pipeline/pipeline_hash.c
index 0c6e04f..991e381 100644
--- a/test/test-pipeline/pipeline_hash.c
+++ b/test/test-pipeline/pipeline_hash.c
@@ -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);