scsi: remove useless acpi functions in the header file
PATCH v2 1/1 scsi: remove useless acpi functions in the header file
From: Hanjun Guo <[email protected]>
commit f1bc1e4c44b1 ("ata: acpi: rework the ata acpi bind support") removed scsi_register_acpi_bus_type() and scsi_unregister_acpi_bus_type(), but forgot to remove them in the header file, do it now.
Reviewed-by John Garry <[email protected]>
Reviewed-by Johannes Thumshirn <[email protected]>
Signed-off-by Hanjun Guo <[email protected]>
---
v1 -> v2:
- fix s/head/header
- add review tags
include/scsi/scsi.h | 10 ---------- 1 file changed, 10 deletions(-)
include/scsi/scsi.h +0 -10
@@ -29,16 +29,6 @@ enum scsi_timeouts {*/ #define SCAN_WILD_CARD ~0 -#ifdef CONFIG_ACPI -struct acpi_bus_type ; - -extern int -scsi_register_acpi_bus_type (struct acpi_bus_type *bus); - -extern void -scsi_unregister_acpi_bus_type (struct acpi_bus_type *bus); -#endif -/** scsi_status_is_good - check the status return. * * @status: the status passed up from the driver (including host and
Signature · 1 line
1.7.12.4
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hanjun" == Hanjun Guo <[email protected]> writes:
Hanjun> From: Hanjun Guo <[email protected]> commit f1bc1e4c44b1 Hanjun> ("ata: acpi: rework the ata acpi bind support") removed Hanjun> scsi_register_acpi_bus_type() and
Hanjun> scsi_unregister_acpi_bus_type(), but forgot to remove them in Hanjun> the header file, do it now.
Applied to 4.11/scsi-queue.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering