diff mbox series

[smartpqi-next] scsi: smartpqi: clean up indentation of a statement

Message ID 20190831073903.7834-1-colin.king@canonical.com (mailing list archive)
State Mainlined
Commit a3a65ddd79c3c975eb1295863289aa4bbaded283
Headers show
Series [smartpqi-next] scsi: smartpqi: clean up indentation of a statement | expand

Commit Message

Colin King Aug. 31, 2019, 7:39 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/smartpqi/smartpqi_init.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Martin K. Petersen Oct. 1, 2019, 2:36 a.m. UTC | #1
Colin,

> 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!
diff mbox series

Patch

diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index ea5409bebf57..652d48224942 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -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));