ocelot: Clean up stats update deferred work
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Tue, 16 Apr 2019 14:51:59 +0000 (17:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2019 04:43:53 +0000 (21:43 -0700)
commit1e1caa9735f90b5452fc48685c23552e56aa1920
tree3ae378633e32917dddef53071723ab2e8073123a
parenta8fd48b50deaa20808bbf0f6685f6f1acba6a64c
ocelot: Clean up stats update deferred work

This is preventive cleanup that may save troubles later.
No need to cancel repeateadly queued work if code is properly
refactored.
Don't let the ethtool -s process interfere with the stat workqueue
scheduling.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c