diff mbox

scsi: remove useless acpi functions in the head file

Message ID 1484036044-9514-1-git-send-email-guohanjun@huawei.com
State New
Headers show

Commit Message

Hanjun Guo Jan. 10, 2017, 8:14 a.m. UTC
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(-)

-- 
1.7.12.4

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

John Garry Jan. 10, 2017, 11:44 a.m. UTC | #1
On 10/01/2017 08:14, Hanjun Guo wrote:
> 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

>


Looks ok,

Reviewed-by: John Garry <john.garry@huawei.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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