diff options
author | 2022-08-26 13:04:11 +0200 | |
---|---|---|
committer | 2022-08-30 22:51:03 -0700 | |
commit | 4f99de7b181f926a3f8d71fec74fd80e2ee8d9c2 (patch) | |
tree | 03ea3da0204bb1de498fc1a29815720dfa2ff1a1 /drivers/net/dsa/microchip/ksz_common.c | |
parent | Merge branch 'completely-rework-mediatek-mt7530-binding' (diff) | |
download | linux-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