]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3069a22337adef5d3961136724c6409c0b3675c
tree3ae378633e32917dddef53071723ab2e8073123a
parentc66be67a86d2a31582f199d56141026e21189fde
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