OSDN Git Service

scsi: smartpqi: clean up indentation of a statement
authorColin Ian King <colin.king@canonical.com>
Sat, 31 Aug 2019 07:39:03 +0000 (08:39 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Oct 2019 02:35:18 +0000 (22:35 -0400)
There is a statement that is indented one level too deeply, remove the tab,
re-join broken line and remove some empty lines.

Link: https://lore.kernel.org/r/20190831073903.7834-1-colin.king@canonical.com
Addresses-Coverity: ("Indentation does not match nesting")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c

index ea5409b..652d482 100644 (file)
@@ -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));