MIPS: TXx9: Do PCI error checks on own line
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Sun, 27 Aug 2023 13:36:59 +0000 (16:36 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 28 Aug 2023 07:59:06 +0000 (09:59 +0200)
commite7513eccb7d7f82e28f4730210b42da71edaa6a6
treec3fd40e120d5660fc3efa92b79ce6f27db4d505f
parentd913ff561140dd89104dcb01846d789835a5cdc3
MIPS: TXx9: Do PCI error checks on own line

Instead of if conditions with line splits, use the usual error handling
pattern with a separate variable to improve readability.

The second check can use reverse logic which reduces indentation level.

No functional changes intended.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/txx9/generic/pci.c