aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIoana Ciornei <[email protected]>2021-01-08 09:07:26 +0000
committerJakub Kicinski <[email protected]>2021-01-10 00:21:30 +0000
commitca763340763910fa895da2c3fb3c824f9d26826c (patch)
treef8a68a45e39e02b4fc96c28bea48d5d379f24611 /net/switchdev/switchdev.c
parentdpaa2-eth: retry the probe when the MAC is not yet discovered on the bus (diff)
downloadkernel-ca763340763910fa895da2c3fb3c824f9d26826c.tar.gz
kernel-ca763340763910fa895da2c3fb3c824f9d26826c.zip
dpaa2-mac: remove an unnecessary check
The dpaa2-eth driver has phylink integration only if the connected dpmac object is in TYPE_PHY (aka the PCS/PHY etc link status is managed by Linux instead of the firmware). The check is thus unnecessary because the code path that reaches the .mac_link_up() callback is only with TYPE_PHY dpmac objects. Signed-off-by: Ioana Ciornei <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions