From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/6] test: remove unneeded casts Date: Wed, 04 Mar 2015 21:52:27 +0100 Message-ID: <1639067.tFOCTn1eHu@xps13> References: <1423925950-5201-1-git-send-email-shemming@brocade.com> <20150219145315.GA700@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org, Stephen Hemminger To: Stephen Hemminger Return-path: In-Reply-To: <20150219145315.GA700@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-02-19 14:53, Bruce Richardson: > On Sat, Feb 14, 2015 at 09:59:05AM -0500, Stephen Hemminger wrote: > > The malloc family returns void * and therefore cast is unnecessary. > > Use calloc rather than zmalloc with multiply for array. > > > > Signed-off-by: Stephen Hemminger > > Looks like a good basic cleanup > > Acked-by: Bruce Richardson Applied the series despite the lack of answer to simple questions.