examples: remove unneeded casts
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Feb 2015 14:59:10 +0000 (09:59 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 Mar 2015 20:50:42 +0000 (21:50 +0100)
commit435eb142bbd7c90299ffce2d389395927b1f7692
tree53caf9b64254937063c6b27f99d6435f6ec64ead
parent490a1f0a25cb444bbe18c2faf3d510ed84018b70
examples: remove unneeded casts

*alloc() routines return void * and therefore cast is not needed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
[Thomas: reverse num and size parameters in vhost calloc]
examples/kni/main.c
examples/l3fwd-acl/main.c
examples/vhost/main.c
examples/vhost_xen/vhost_monitor.c
examples/vhost_xen/xenstore_parse.c