]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: don't reset tx ring indexes in rtl8169_tx_clear
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 30 May 2020 21:56:14 +0000 (23:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2020 04:36:55 +0000 (21:36 -0700)
commit78e42627f8619644cc295dafca7c10b9231ccda0
tree9fb97714e703626c1ee2d9778ba4b6beddc7b626
parentc84fc342458881f2337aa82e723f73a5e9618265
r8169: don't reset tx ring indexes in rtl8169_tx_clear

In places where the indexes have to be reset, we call
rtl8169_init_ring_indexes() anyway after rtl8169_tx_clear().

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