Skip to content
Commit 5603072e authored by Jinpeng Cui's avatar Jinpeng Cui Committed by Jakub Kicinski
Browse files

netdevsim: remove redundant variable ret



Return value directly from nsim_dev_reload_create()
instead of getting value from redundant variable ret.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJinpeng Cui <cui.jinpeng2@zte.com.cn>
Link: https://lore.kernel.org/r/20220831154329.305372-1-cui.jinpeng2@zte.com.cn


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent abbc7928
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