From: Ferruh Yigit Subject: Re: [PATCH 1/6] testpmd: remove unnecessary void casts Date: Mon, 11 Sep 2017 13:44:43 +0100 Message-ID: <384bad9a-3941-3b1f-3d68-68787ad6ae39@intel.com> References: <20170823154445.19494-1-stephen@networkplumber.org> <20170823154445.19494-2-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Stephen Hemminger , dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1FF711AF03 for ; Mon, 11 Sep 2017 14:44:45 +0200 (CEST) In-Reply-To: <20170823154445.19494-2-stephen@networkplumber.org> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/23/2017 4:44 PM, Stephen Hemminger wrote: > The testpmd was doing old BSD lint style casts of rte_memcpy > to (void). This is unnecessary. > > Signed-off-by: Stephen Hemminger <...> > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -2173,7 +2173,7 @@ init_port_dcb_config(portid_t pid, > * Set the numbers of RX & TX queues to 0, so > * the RX & TX queues will not be setup. > */ > - (void)rte_eth_dev_configure(pid, 0, 0, &port_conf); > + rte_eth_dev_configure(pid, 0, 0, &port_conf); > > rte_eth_dev_info_get(pid, &rte_port->dev_info); According cover letter, intention seems as removing void casts for rte_memcpy, and all other updates except this one is for rte_memcpy. Is above change intentional?