summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-09-01 10:42:09 +0300
committerLeon Romanovsky <leon@kernel.org>2022-09-05 15:14:31 +0300
commite58f889e293e6bd13ae2b48208a4d0d15592bf5a (patch)
tree3d0f7cf45c319c2e3483c36ad34f067315f5c64b /drivers/infiniband/ulp
parentd324a46be33ed0c1730ed8194345fce83eeba0e8 (diff)
downloadlinux-e58f889e293e6bd13ae2b48208a4d0d15592bf5a.tar.xz
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>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions