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


Groups > linux.kernel > #1555031

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

From Hanjun Guo <guohanjun@huawei.com>
Newsgroups linux.kernel
Subject [PATCH] scsi: remove useless acpi functions in the head file
Date 2017-01-10 09:20 +0100
Message-ID <sXZOW-7lr-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 head file, do it now.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
---
 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: remove useless acpi functions in the head file Hanjun Guo <guohanjun@huawei.com> - 2017-01-10 09:20 +0100
  Re: [PATCH] scsi: remove useless acpi functions in the head file John Garry <john.garry@huawei.com> - 2017-01-10 12:50 +0100
    Re: [PATCH] scsi: remove useless acpi functions in the head file Aaron Lu <aaron.lu@intel.com> - 2017-01-11 03:00 +0100
      Re: [PATCH] scsi: remove useless acpi functions in the head file Hanjun Guo <guohanjun@huawei.com> - 2017-01-11 03:20 +0100
        Re: [PATCH] scsi: remove useless acpi functions in the head file Aaron Lu <aaron.lu@intel.com> - 2017-01-11 03:40 +0100
  Re: [PATCH] scsi: remove useless acpi functions in the head file Johannes Thumshirn <jthumshirn@suse.de> - 2017-01-10 13:00 +0100
    Re: [PATCH] scsi: remove useless acpi functions in the head file Hanjun Guo <guohanjun@huawei.com> - 2017-01-10 13:20 +0100

csiph-web