aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2022-08-26 13:04:11 +0200
committerJakub Kicinski <kuba@kernel.org>2022-08-30 22:51:03 -0700
commit4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2 (patch)
tree03ea3da0204bb1de498fc1a29815720dfa2ff1a1 /drivers/net/dsa/microchip/ksz_common.c
parentMerge branch 'completely-rework-mediatek-mt7530-binding' (diff)
downloadlinux-dev-4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2.tar.xz
linux-dev-4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2.zip
funeth: remove pointless check of devlink pointer in create/destroy_netdev() flows
Once devlink port is successfully registered, the devlink pointer is not NULL. Therefore, the check is going to be always true and therefore pointless. Remove it. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Dimitris Michailidis <dmichail@fungible.com> Link: https://lore.kernel.org/r/20220826110411.1409446-1-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions