app/test: remove unneeded casts
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Feb 2015 14:59:05 +0000 (09:59 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 Mar 2015 20:51:01 +0000 (21:51 +0100)
commitf2cae314c3d3bf05060012b191dceb79e49061e8
tree247073edea650999d94b0ff8bb020f725e4619ff
parent435eb142bbd7c90299ffce2d389395927b1f7692
app/test: remove unneeded casts

The malloc family returns void * and therefore cast is unnecessary.
Use calloc rather than zmalloc with multiply for array.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_hash_perf.c
app/test/test_mempool.c
app/test/test_ring.c