]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-sun8i: Remove unnecessary PHY power check
authorSamuel Holland <samuel@sholland.org>
Wed, 17 Feb 2021 04:20:03 +0000 (22:20 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2021 21:42:56 +0000 (13:42 -0800)
commitf31f80cd8d567d9c58d580f81994f7549f37e424
treed7effeb50f2b0a4cd72d45aa037dc4a51f2aa78a
parentc566c376ea387ba71830f3c109b1b0a4b8088b49
net: stmmac: dwmac-sun8i: Remove unnecessary PHY power check

sun8i_dwmac_unpower_internal_phy already checks if the PHY is powered,
so there is no need to do it again here.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c