summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-05-18 19:34:47 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-05-19 09:01:19 +0300
commitd41bf5c1c0ed980366dc0d5174a3706309652c20 (patch)
treecf4b5e359173522e3feb6063f9fbf5bfe9f5166b /drivers/fpga/fpga-mgr.c
parente8dc072dd50d89f012fa1b2d2c4914ae612c786a (diff)
downloadlinux-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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions