net: phy: Don't create phy device when there is no phy
In get_phy_device_by_mask(), when no phy is found, we should not create any phy device. Signed-off-by:Bin Meng <bmeng.cn@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
Loading
Please register or sign in to comment