mips/pci: remove redundant ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 4 Jan 2022 11:20:24 +0000 (11:20 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 5 Jan 2022 08:54:08 +0000 (09:54 +0100)
commit6bcfdc49f38e274e3016c45284bfb286aa5a35d6
treeb27edec001f8f503ed7388398bb04661f31f8310
parenta029ccc810b65172e02336d9caa0fe2331dc58b7
mips/pci: remove redundant ret variable

Return value from rt3883_pci_r32() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-rt3883.c