RDMA/hfi1: Remove the unneeded result variable
Return the value set_link_state() directly instead of storing it in another redundant variable. Reported-by:Zeal Robot <zealci@zte.com.cn> Signed-off-by:
ye xingchen <ye.xingchen@zte.com.cn> Link: https://lore.kernel.org/r/20220901074209.313004-1-ye.xingchen@zte.com.cn Signed-off-by:
Leon Romanovsky <leon@kernel.org>
Loading
Please sign in to comment