diff options
author | 2016-08-31 13:50:59 +0200 | |
---|---|---|
committer | 2016-09-09 12:21:25 +0300 | |
commit | b711657616947e7b4c15f6825d259324216b23f2 (patch) | |
tree | 4c03bf3a3cc72b510a0a5cc6c7439e5c811ba51b /tools/perf/scripts/python/stackcollapse.py | |
parent | mwifiex: add PCIe function level reset support (diff) | |
download | wireguard-linux-b711657616947e7b4c15f6825d259324216b23f2.tar.xz wireguard-linux-b711657616947e7b4c15f6825d259324216b23f2.zip |
mwifiex: scan: Simplify code
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@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions