net: pxa168_eth: Fix a potential data race in pxa168_eth_remove

Commit 0571a753cb cancelled delayed work too late, keeping small
race. Cancel work sooner to close it completely.

Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
Fixes: 0571a753cb ("net: pxa168_eth: Fix a potential data race in pxa168_eth_remove")
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Pavel Machek 2021-06-18 11:35:26 +02:00 • committed by David S. Miller
commit bd70957438