summaryrefslogtreecommitdiff
path: root/lib/rbtree_test.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-03-10 17:39:21 -0800
committerKalle Valo <kvalo@codeaurora.org>2017-03-16 10:14:12 +0200
commit4e841d3eb9294ce4137fdb5d0a88f1bceab9c212 (patch)
treed6c207b89b9bf1b733e62f36d43257adc899fc76 /lib/rbtree_test.c
parent9a3fcf912ef7f5c6e18f9af6875dd13f7311f7aa (diff)
mwifiex: pcie: don't leak DMA buffers when removing
When PCIe FLR support was added, much of the remove/release code for PCIe was migrated to ->down_dev(), but ->down_dev() is never called for device removal. Let's refactor the cleanup to be done in both cases. Also, drop the comments above mwifiex_cleanup_pcie(), because they were clearly wrong, and it's better to have clear and obvious code than to detail the code steps in comments anyway. Fixes: 4c5dae59d2e9 ("mwifiex: add PCIe function level reset support") Cc: <stable@vger.kernel.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions