Re: [PATCH linux-next] PCI: iproc: Remove the unneeded result variable

From: Florian Fainelli
Date: Tue Sep 06 2022 - 13:07:25 EST




On 9/6/2022 12:16 AM, cgel.zte@xxxxxxxxx wrote:
From: ye xingchen <ye.xingchen@xxxxxxxxxx>

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

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian