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)
commitd56f58cec90d46a60d1acb15954b96d89aa154ee
treead4bb278b43419e387116d7330dbe5325a4a8d70
parentf773d5118b6ce63d645d404bf29075252b890c66
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