diff options
| author | Brian Norris <briannorris@chromium.org> | 2017-05-18 19:34:47 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-19 09:01:19 +0300 |
| commit | d41bf5c1c0ed980366dc0d5174a3706309652c20 (patch) | |
| tree | cf4b5e359173522e3feb6063f9fbf5bfe9f5166b /tools/perf/scripts/python/stackcollapse.py | |
| parent | e8dc072dd50d89f012fa1b2d2c4914ae612c786a (diff) | |
| download | linux-d41bf5c1c0ed980366dc0d5174a3706309652c20.tar.xz | |
mwifiex: pcie: de-duplicate buffer allocation code
This code was duplicated as part of the PCIe FLR code added to this
driver. Let's de-duplicate it to:
* make things easier to read (mwifiex_pcie_free_buffers() now has a
corresponding mwifiex_pcie_alloc_buffers())
* reduce likelihood of bugs
* make error logging equally verbose
* save lines of code!
Also drop some of the commentary that isn't really needed.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
