Home
last modified time | relevance | path

Searched hist:"2 a7b02ea7f8f79e9f048e68f535bb6158034ac96" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dlibata-acpi.cdiff 2a7b02ea7f8f79e9f048e68f535bb6158034ac96 Tue Feb 01 14:50:10 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> ata: libata-acpi: kill ata_acpi_on_suspend()

Since the commit c05e6ff035c1b25d17364a685432 ("libata-acpi: implement
and use ata_acpi_init_gtm()") ata_acpi_on_suspend() just returns 0, so
its call from ata_eh_handle_port_suspend() doesn't make sense anymore.
Remove the function completely, at last...

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
H A Dlibata.hdiff 2a7b02ea7f8f79e9f048e68f535bb6158034ac96 Tue Feb 01 14:50:10 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> ata: libata-acpi: kill ata_acpi_on_suspend()

Since the commit c05e6ff035c1b25d17364a685432 ("libata-acpi: implement
and use ata_acpi_init_gtm()") ata_acpi_on_suspend() just returns 0, so
its call from ata_eh_handle_port_suspend() doesn't make sense anymore.
Remove the function completely, at last...

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
H A Dlibata-eh.cdiff 2a7b02ea7f8f79e9f048e68f535bb6158034ac96 Tue Feb 01 14:50:10 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> ata: libata-acpi: kill ata_acpi_on_suspend()

Since the commit c05e6ff035c1b25d17364a685432 ("libata-acpi: implement
and use ata_acpi_init_gtm()") ata_acpi_on_suspend() just returns 0, so
its call from ata_eh_handle_port_suspend() doesn't make sense anymore.
Remove the function completely, at last...

Found by Linux Verification Center (linuxtesting.org) with the SVACE
static analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>