]> git.itanic.dy.fi Git - linux-stable/commit
scsi: ipr: Do PCI error checks on own line
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 11 Sep 2023 12:53:54 +0000 (15:53 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 10 Oct 2023 21:40:19 +0000 (16:40 -0500)
commit875760900b44fb33753dc1c53d0c03acb3336447
treea4f1c9a5b9d3a3e90f9a9cd6b383c368cb293a39
parent910ed628e511b8533e40b7e9119040c160848a57
scsi: ipr: 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.

No functional changes intended.

Link: https://lore.kernel.org/r/20230911125354.25501-7-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
drivers/scsi/ipr.c