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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/6/2022 2:27 PM, Scott Branden wrote:


On 2022-09-06 14:25, Bjorn Helgaas wrote:
On Tue, Sep 06, 2022 at 07:16:36AM +0000, 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>

This patch itself is fine,
Does the patch serve any real use though?

Not really though if we don't accept it, then someone else will submit a similar patch later, since it is obviously correct, might as well accept it?
--
Florian



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux