net: ethernet: mtk_eth_soc: remove cpu_relax in mtk_pending_work
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 16 Nov 2022 23:58:46 +0000 (00:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2022 12:00:17 +0000 (12:00 +0000)
commitec8cd134eeeecef9cccb5431b1a3f140ff2a413a
treecc9b374e0df0145574477d73e1677819a77147fd
parentb677d6c7a695dad1b02d2e0e428c39b3b344f270
net: ethernet: mtk_eth_soc: remove cpu_relax in mtk_pending_work

Get rid of cpu_relax in mtk_pending_work routine since MTK_RESETTING is
set only in mtk_pending_work() and it runs holding rtnl lock

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c