From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3] net/ring: remove unnecessary NULL check Date: Wed, 2 Nov 2016 14:05:40 +0000 Message-ID: <162c0602-5fff-fa80-98c5-3725fcb96e69@intel.com> References: <1478030140-7127-1-git-send-email-mauricio.vasquez@polito.it> <1478094369-3943-1-git-send-email-mauricio.vasquez@polito.it> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Mauricio Vasquez B , bruce.richardson@intel.com Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8E5991E2F for ; Wed, 2 Nov 2016 15:08:06 +0100 (CET) In-Reply-To: <1478094369-3943-1-git-send-email-mauricio.vasquez@polito.it> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/2/2016 1:46 PM, Mauricio Vasquez B wrote: > Coverity detected this as an issue because internals->data will never be NULL, > then the check is not necessary. > > Fixes: d082c0395bf6 ("ring: fix memory leak when detaching") > Coverity issue: 137873 > > Signed-off-by: Mauricio Vasquez B > --- Acked-by: Ferruh Yigit