Skip to content
Commit e58f889e authored by ye xingchen's avatar ye xingchen Committed by Leon Romanovsky
Browse files

RDMA/hfi1: Remove the unneeded result variable



Return the value set_link_state() directly instead of storing it in
another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220901074209.313004-1-ye.xingchen@zte.com.cn


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent d324a46b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment