]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: remove mask argument from rtl_w0w1_eri
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 23 May 2020 11:21:36 +0000 (13:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 May 2020 23:54:35 +0000 (16:54 -0700)
commit391f0ebc00fe002115db03f9e2f99507497b27a6
treeb2b2deb48b20ca17a0a969baef289a4101013ef5
parent8963d753bcfc2664353159610cb80a9945e67862
r8169: remove mask argument from rtl_w0w1_eri

rtl_eri_read() returns the full 32bit value, therefore there's no
benefit in writing back parts of it only. handle it like the vendor
driver and write the full 32 bit always. Omitting the mask argument
avoids some overhead and makes the code better readable.

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