Skip to content
Commit d1c72286 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jakub Kicinski
Browse files

net: lan966x: Remove a useless test in lan966x_ptp_add_trap()



vcap_alloc_rule() can't return NULL.

So remove some dead-code

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/27992ffcee47fc865ce87274d6dfcffe7a1e69e0.1670873784.git.christophe.jaillet@wanadoo.fr
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c4b7a297
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