[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YxXoNwYwtjogoE+V@unreal>
Date: Mon, 5 Sep 2022 15:14:47 +0300
From: Leon Romanovsky <leon@...nel.org>
To: cgel.zte@...il.com
Cc: jgg@...pe.ca, dennis.dalessandro@...nelisnetworks.com,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
ye xingchen <ye.xingchen@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] RDMA/hfi1: Remove the unneeded result variable
On Thu, Sep 01, 2022 at 07:42:09AM +0000, cgel.zte@...il.com wrote:
> From: ye xingchen <ye.xingchen@....com.cn>
>
> Return the value set_link_state() directly instead of storing it in
> another redundant variable.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: ye xingchen <ye.xingchen@....com.cn>
> ---
> drivers/infiniband/hw/hfi1/verbs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Thanks, applied.
Powered by blists - more mailing lists