Skip to contentSkip to conversation

scsi: smartpqi: clean up indentation of a statement

PATCH Applied Colin King 2 participants 2 messages Aug 31, 2019 – Oct 1, 2019

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: smartpqi: clean up indentation of a statement

From: Colin Ian King <[email protected]>

There is a statement that is indented one level too deeply, remove the tab, re-join broken line and remove some empty lines.

Addresses-Coverity: ("Indentation does not match nesting")

---
 drivers/scsi/smartpqi/smartpqi_init.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/scsi/smartpqi/smartpqi_init.c +1 -4
index ea5409bebf57..652d48224942 100644
@@ -2175,10 +2175,7 @@ static int pqi_update_scsi_devices(struct pqi_ctrl_info *ctrl_info)
 					device->aio_handle  						phys_lun_ext_entry->aio_handle;
 			}
-
-				pqi_get_physical_disk_info(ctrl_info,
-					device, id_phys);
-
+			pqi_get_physical_disk_info(ctrl_info, device, id_phys);
 		} else {
 			memcpy(device->volume_id, log_lun_ext_entry->volume_id,
 				sizeof(device->volume_id));
Signature · 1 line
2.20.1
#1 lore raw

Colin,

Quoted 2 lines

There is a statement that is indented one level too deeply, remove the tab, re-join broken line and remove some empty lines.

Applied to 5.5/scsi-queue. Thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering