diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-01-16 19:52:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-18 13:59:00 -0800 |
commit | d8cce3a1bc539f7e928eb1d094a312089b146aa4 (patch) | |
tree | cb0ecab071408278f52a4d827782dd8e38b8e603 /net/xdp/Kconfig | |
parent | e302c2a5fe0ca63b8fcc93389917625f486e0670 (diff) | |
download | linux-d8cce3a1bc539f7e928eb1d094a312089b146aa4.tar.bz2 |
net: phy: improve get_phy_id
Only caller of get_phy_id() is get_phy_device(). There a PHY ID of
0xffffffff is translated back to -ENODEV. So we can avoid some
overhead by returning -ENODEV directly.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xdp/Kconfig')
0 files changed, 0 insertions, 0 deletions