Skip to content
Commit 4f99de7b authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski
Browse files

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: default avatarJiri Pirko <jiri@nvidia.com>
Acked-by: default avatarDimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20220826110411.1409446-1-jiri@resnulli.us


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1390d912
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment