* [PATCH v2] scsi: remove useless acpi functions in the header file
@ 2017-01-10 12:16 Hanjun Guo
2017-01-11 4:08 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Hanjun Guo @ 2017-01-10 12:16 UTC (permalink / raw)
To: jejb, martin.petersen
Cc: linux-scsi, linux-kernel, john.garry, Johannes Thumshirn,
Hanjun Guo
From: Hanjun Guo <hanjun.guo@linaro.org>
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 <john.garry@huawei.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
---
v1 -> v2:
- fix s/head/header
- add review tags
include/scsi/scsi.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 8ec7c30..a1e1930 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -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
--
1.7.12.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] scsi: remove useless acpi functions in the header file
2017-01-10 12:16 [PATCH v2] scsi: remove useless acpi functions in the header file Hanjun Guo
@ 2017-01-11 4:08 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2017-01-11 4:08 UTC (permalink / raw)
To: Hanjun Guo
Cc: jejb, martin.petersen, linux-scsi, linux-kernel, john.garry,
Johannes Thumshirn, Hanjun Guo
>>>>> "Hanjun" == Hanjun Guo <guohanjun@huawei.com> writes:
Hanjun> From: Hanjun Guo <hanjun.guo@linaro.org> 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.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-11 4:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-10 12:16 [PATCH v2] scsi: remove useless acpi functions in the header file Hanjun Guo
2017-01-11 4:08 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).