]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: remove superfluous register reads
authorJohn Crispin <john@phrozen.org>
Wed, 29 Jun 2016 11:38:08 +0000 (13:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jun 2016 12:52:04 +0000 (08:52 -0400)
commitf2e14c0998ab201456479d53734b8c1372b25f5d
tree43c218a1d5f8fee08087ca595279ae5b5460982a
parent8f054a33f75d9b3a05023692b9613002ae7d1747
net-next: mediatek: remove superfluous register reads

The driver was originally written for MIPS based SoC. These required the
IRQ mask register to be read after writing it to ensure that the content
was actually applied. As this version only works on ARM based SoCs, we can
safely remove the 2 reads as they are no longer required.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c