]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: remove duplicated RTL8169s PHY initialization steps
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 19 Sep 2018 20:02:11 +0000 (22:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 06:06:30 +0000 (23:06 -0700)
commita7e0772f7e22f1b806bf28c41800f432ac4c1dd4
treecab3dc19db183c4c23850fe3461efddc790cf45a
parent3823844a5c58f57572e0f98a84cbdb5719fe5bd6
r8169: remove duplicated RTL8169s PHY initialization steps

Setting register 0x82 to value 01 is done a few lines before for all
chip versions <= 06 anyway. And setting PHY register 0x0b to value 00
is done at the end of rtl8169s_hw_phy_config() already. So we can
remove this.

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