aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-05-06 13:00:29 -0700
committerPaolo Abeni <pabeni@redhat.com>2022-05-10 09:19:56 +0200
commitb3552d6a3b8bd4260a971f1f70140ed3513cc4f7 (patch)
tree8a2cfdd698923324a41250a11900d2f1b199f5c3 /net/core/dev.c
parentMerge branch 'nfp-support-corigine-pcie-vendor-id' (diff)
downloadlinux-rng-b3552d6a3b8bd4260a971f1f70140ed3513cc4f7.tar.xz
linux-rng-b3552d6a3b8bd4260a971f1f70140ed3513cc4f7.zip
eth: dpaa2-mac: remove a dead-code NULL check on fwnode parent
Since commit 4e30e98c4b4c ("dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set") @parent can't be NULL after the if. It's either the address of the ->fwnode of @dpmacs or @fwnode in case of ACPI. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20220506200029.852310-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions