Skip to content

Commit

Permalink
scsi: remove useless acpi functions in the header file
Browse files Browse the repository at this point in the history
commit f1bc1e4 ("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.

Signed-off-by: Hanjun Guo <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
hanjun-guo authored and martinkpetersen committed Jan 11, 2017
1 parent 93fdd5a commit 47069a8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47069a8

Please sign in to comment.