From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 23350A48C for ; Mon, 15 Jan 2018 09:08:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2018 00:08:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,362,1511856000"; d="scan'208";a="195405159" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.198]) by fmsmga005.fm.intel.com with ESMTP; 15 Jan 2018 00:08:17 -0800 From: Zhiyong Yang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, thomas@monjalon.net Date: Mon, 15 Jan 2018 15:55:05 +0800 Message-Id: <20180115075510.29348-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 Subject: [dpdk-dev] [PATCH 0/5] remove unnecessary void * pointer cast X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 08:08:19 -0000 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