]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: improve rtl8169_irq_mask_and_ack
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 25 Sep 2018 05:58:00 +0000 (07:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Sep 2018 17:28:03 +0000 (10:28 -0700)
commit60a1f26dd792bcc13fd3ac79b3202b38115a314a
tree5bb27e6044cb114e9a2e903dc2f0ae8ff96a6855
parent37a8264efbfebcdbaf6fa95a0419691d4b721bed
r8169: improve rtl8169_irq_mask_and_ack

Code can be slightly simplified by acking even events we're not
interested in. In addition add a comment making clear that the
read has no functional purpose and is just a PCI commit.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c