linux-stable/drivers/atm
Ilpo Järvinen db8e4d8567 atm: iphase: Do PCI error checks on own line
[ Upstream commit c28742447c ]

In get_esi() PCI errors are checked inside line-split "if" conditions (in
addition to the file not following the coding style). To make the code in
get_esi() more readable, fix the coding style and use the usual error
handling pattern with a separate variable.

In addition, initialization of 'error' variable at declaration is not
needed.

No functional changes intended.

Link: https://lore.kernel.org/r/20230911125354.25501-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:14:48 +00:00
..
.gitignore
Kconfig
Makefile
adummy.c
atmtcp.c
eni.c
eni.h
fore200e.c
fore200e.h
he.c
he.h
idt77105.c
idt77105.h
idt77252.c
idt77252.h
idt77252_tables.h
iphase.c atm: iphase: Do PCI error checks on own line 2023-11-28 17:14:48 +00:00
iphase.h
lanai.c
midway.h
nicstar.c
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c
suni.c
suni.h
tonga.h
zeprom.h