Commit 1c191307 authored by David S. Miller's avatar David S. Miller
Browse files

Revert "lan78xx: add ndo_get_stats64"

This reverts commit a59f8c5b

.

There are several bugs in this new code, for example:

1) Uses sleeping locks in get_stats64, which is not allowed,
   as the operation can be invoked in an atomic context.

2) Uses PM fields without CONFIG_PM or similar guards.

3) Does not synchronize HW stats when the device runtime
   suspends.

Therefore this is being reverted until a correct version
is implemented.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e9fc2f05
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment