Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbdH1XRP (ORCPT ); Mon, 28 Aug 2017 19:17:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50396 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbdH1XRN (ORCPT ); Mon, 28 Aug 2017 19:17:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B9DAC7E42B Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dledford@redhat.com Message-ID: <1503962232.52034.9.camel@redhat.com> Subject: Re: [PATCH] RDMA/bnxt_re: remove unnecessary call to memset From: Doug Ledford To: Himanshu Jha , selvin.xavier@broadcom.com Cc: devesh.sharma@broadcom.com, somnath.kotur@broadcom.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 28 Aug 2017 19:17:12 -0400 In-Reply-To: <1503677462-24238-1-git-send-email-himanshujha199640@gmail.com> References: <1503677462-24238-1-git-send-email-himanshujha199640@gmail.com> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 28 Aug 2017 23:17:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 437 Lines: 13 On Fri, 2017-08-25 at 21:41 +0530, Himanshu Jha wrote: > call to memset to assign 0 value immediately after allocating > memory with kzalloc is unnecesaary as kzalloc allocates the memory > filled with 0 value. > > Signed-off-by: Himanshu Jha Thanks, applied. -- Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD