Skip to content
Commit b638814e authored by Marek Behún's avatar Marek Behún Committed by Ramon Fried
Browse files

bcmgenet, sun8i_emac: Don't connect PHY two times



The bcmgenet and sun8i_emac drivers call phy_connect(), which finds /
creates the PHY and also connects it to the eth device via
phy_connect_dev(), then set some phydev members (bcmgenet only), and
then call phy_connect_dev() explicitly again.

Drop the second phy_connect_dev(), since it is unnecesary.

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 79bef5fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment