net: ipa: get rid of some unneeded IPA interrupt code
authorAlex Elder <elder@linaro.org>
Tue, 27 Jul 2021 19:46:28 +0000 (14:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 20:02:06 +0000 (21:02 +0100)
commitfe6a32797971db3d5770a5ddcd0cec15f561e501
treed40255ca73951f6e0a0c562578bd7e2630f3bd9b
parente70e410f8e7c000b5f44ecba8a1b40d2a2b8c6f1
net: ipa: get rid of some unneeded IPA interrupt code

The pending IPA interrupts are checked by ipa_isr_thread(), and
interrupts are processed only if an enabled interrupt has a
condition pending.  But ipa_interrupt_process_all() now makes the
same check, so the one in ipa_isr_thread() can just be skipped.

Also in ipa_isr_thread(), any interrupt conditions pending which are
not enabled are cleared.  Here too, ipa_interrupt_process_all() now
clears such excess interrupt conditions, so ipa_isr_thread() doesn't
have to.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_interrupt.c