Re: [PATCH] mwifiex: scan: Simplify code

2016-08-31 Thread Joe Perches
On Wed, 2016-08-31 at 13:50 +0200, 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

[PATCH] mwifiex: scan: Simplify code

2016-08-31 Thread Christophe JAILLET
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