Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1555223 > unrolled thread

[PATCH v2] scsi: remove useless acpi functions in the header file

Started byHanjun Guo <guohanjun@huawei.com>
First post2017-01-10 13:30 +0100
Last post2017-01-11 05:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] scsi: remove useless acpi functions in the header file Hanjun Guo <guohanjun@huawei.com> - 2017-01-10 13:30 +0100
    Re: [PATCH v2] scsi: remove useless acpi functions in the header file "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-01-11 05:10 +0100

#1555223 — [PATCH v2] scsi: remove useless acpi functions in the header file

FromHanjun Guo <guohanjun@huawei.com>
Date2017-01-10 13:30 +0100
Subject[PATCH v2] scsi: remove useless acpi functions in the header file
Message-ID<sY3IS-1gX-17@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1556193

From"Martin K. Petersen" <martin.petersen@oracle.com>
Date2017-01-11 05:10 +0100
Message-ID<sYiox-20K-7@gated-at.bofh.it>
In reply to#1555223
>>>>> "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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web