OSDN Git Service

mwifiex: pcie: unify MSI-X / non-MSI-X interrupt process
authorBrian Norris <briannorris@chromium.org>
Tue, 25 Jul 2017 01:13:31 +0000 (18:13 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:47:53 +0000 (17:47 +0300)
commit87a602126aaf1ecd52c2b70754a5a4b948b27903
treed7e076f9cad7654cc6d170320efc47cab70d156d
parent605db27f7405eb410a2c1d332c9f35d2631ffa14
mwifiex: pcie: unify MSI-X / non-MSI-X interrupt process

After removing the interrupt loop in commit 5d5ddb5e0d9b ("mwifiex:
pcie: don't loop/retry interrupt status checks"), there is practically
zero difference between mwifiex_process_pcie_int() (which handled legacy
PCI interrupts and MSI interrupts) and mwifiex_process_msix_int() (which
handled MSI-X interrupts). Let's add the one relevant line to
mwifiex_process_pcie_int() and kill the copy-and-paste.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c