Re: mwifiex: scan: Simplify code

From: Kalle Valo
Date: Fri Sep 09 2016 - 05:21:53 EST


Christophe Jaillet <christophe.jaillet@xxxxxxxxxx> 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 <christophe.jaillet@xxxxxxxxxx>

Thanks, 1 patch applied to wireless-drivers-next.git:

b71165761694 mwifiex: scan: Simplify code

--
Sent by pwcli
https://patchwork.kernel.org/patch/9307009/