DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/5] remove unnecessary void * pointer cast
@ 2018-01-15  7:55 Zhiyong Yang
  2018-01-15  7:55 ` [dpdk-dev] [PATCH 1/5] lib/librte_lpm: " Zhiyong Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Zhiyong Yang @ 2018-01-15  7:55 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, thomas

void * pointer can be assigned to any data type pointer. Unnecessary cast
can be removed in order to keep code clearer.

Zhiyong Yang (5):
  lib/librte_lpm: remove unnecessary void * pointer cast
  lib/librte_efd: remove unnecessary void * pointer cast using
    rte_zmalloc_socket
  lib/librte_hash: remove unnecessary void * pointer cast using
    rte_zmalloc_socket
  lib/librte_member: remove unnecessary void * pointer cast
  lib/librte_pipeline: remove unnecessary void * pointer cast using
    rte_zmalloc_socket

 lib/librte_efd/rte_efd.c           |  8 ++++----
 lib/librte_hash/rte_fbk_hash.c     |  2 +-
 lib/librte_lpm/rte_lpm.c           | 24 ++++++++++++------------
 lib/librte_lpm/rte_lpm6.c          |  4 ++--
 lib/librte_member/rte_member.c     |  4 ++--
 lib/librte_pipeline/rte_pipeline.c |  2 +-
 6 files changed, 22 insertions(+), 22 deletions(-)

-- 
2.13.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-16  0:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-15  7:55 [dpdk-dev] [PATCH 0/5] remove unnecessary void * pointer cast Zhiyong Yang
2018-01-15  7:55 ` [dpdk-dev] [PATCH 1/5] lib/librte_lpm: " Zhiyong Yang
2018-01-15  7:55 ` [dpdk-dev] [PATCH 2/5] lib/librte_efd: remove unnecessary void * pointer cast using rte_zmalloc_socket Zhiyong Yang
2018-01-15  7:55 ` [dpdk-dev] [PATCH 3/5] lib/librte_hash: " Zhiyong Yang
2018-01-15  7:55 ` [dpdk-dev] [PATCH 4/5] lib/librte_member: remove unnecessary void * pointer cast Zhiyong Yang
2018-01-15  7:55 ` [dpdk-dev] [PATCH 5/5] lib/librte_pipeline: remove unnecessary void * pointer cast using rte_zmalloc_socket Zhiyong Yang
2018-01-15 14:29 ` [dpdk-dev] [PATCH 0/5] remove unnecessary void * pointer cast Ferruh Yigit
2018-01-16  0:55   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).