]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: simplify counter handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 1 May 2020 17:23:36 +0000 (19:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 19:53:06 +0000 (12:53 -0700)
commitcb2b9135ba1addaa7d2ffd30bba3e7e98938e59f
treead4bb278b43419e387116d7330dbe5325a4a8d70
parente89f5b907a394718a908266542c5613485cb526f
r8169: simplify counter handling

The counter handling functions can only fail if rtl8169_do_counters()
times out. In the poll function we emit an error message in case of
timeout, therefore we don't have to propagate the timeout all the
way up just to print another message basically saying the same.

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