ata: ahci: Cleanup ahci_reset_controller()
authorDamien Le Moal <dlemoal@kernel.org>
Mon, 12 Jun 2023 00:16:13 +0000 (09:16 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 13 Jun 2023 23:49:18 +0000 (08:49 +0900)
commit9e936277d990552c955f4a20ad33d4cb1319b25b
tree68887d367efed35a720ea04cfcb0de3d077a57e9
parentd0b2461678b12c08d43eaf6740485e2f2c3aeac6
ata: ahci: Cleanup ahci_reset_controller()

Fix multi-line comment style in ahci_reset_controller() and change the
code to return early if ahci_skip_host_reset is true, reducing
indentation by one level for the bulk of the function code.

No functional changes.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
drivers/ata/libahci.c