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)
commitde20e12f3faf86581e82b2826d87fbc2feec2b50
tree5bb27e6044cb114e9a2e903dc2f0ae8ff96a6855
parent4bee64b41701a4ca19df4226f16fc91fc156940a
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