From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428AbcIIJVr (ORCPT ); Fri, 9 Sep 2016 05:21:47 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55815 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892AbcIIJVp (ORCPT ); Fri, 9 Sep 2016 05:21:45 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 36A5761BE8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: mwifiex: scan: Simplify code From: Kalle Valo In-Reply-To: <1472644259-15605-1-git-send-email-christophe.jaillet@wanadoo.fr> To: Christophe Jaillet Cc: akarwar@marvell.com, nishants@marvell.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Message-Id: <20160909092145.2A21861EAC@smtp.codeaurora.org> Date: Fri, 9 Sep 2016 09:21:45 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Jaillet wrote: > This patch: > - improves code layout > - removes a useless memset(0) for some memory allocated with kzalloc > - removes a useless if. We know that 'if (chan_band_tlv)' will succeed > because it has been tested a few lines above > > Signed-off-by: Christophe JAILLET Thanks, 1 patch applied to wireless-drivers-next.git: b71165761694 mwifiex: scan: Simplify code -- Sent by pwcli https://patchwork.kernel.org/patch/9307009/