mbuf: remove void pointer cast
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 19 Jan 2018 10:18:13 +0000 (18:18 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 25 Jan 2018 21:48:36 +0000 (22:48 +0100)
commit9d46f3bbc8d84a3f4aea7e25de8d72c9548d9ad4
tree64e51be18eafb454b22763504ad9a12604b33e26
parent791901744de09fc841387cc6a5091bde831a8c43
mbuf: remove void pointer cast

It is unnecessary to cast from void * to struct rte_mbuf *,
the change can make code clearer.

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h