summaryrefslogtreecommitdiff
path: root/drivers/acpi/device_pm.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-01-08 11:07:26 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-09 16:21:30 -0800
commitca763340763910fa895da2c3fb3c824f9d26826c (patch)
treef8a68a45e39e02b4fc96c28bea48d5d379f24611 /drivers/acpi/device_pm.c
parent47325da28ef137fa04a0e5d6d244e9635184bf5e (diff)
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 <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions