diff mbox series

[v2,06/13] ata: libata: Remove unused function declaration for ata_scsi_detect()

Message ID 20240626180031.4050226-21-cassel@kernel.org
State New
Headers show
Series ata,libsas: Assign the unique id used for printing earlier | expand

Commit Message

Niklas Cassel June 26, 2024, 6 p.m. UTC
Remove unsed function declaration for ata_scsi_detect().

Signed-off-by: Niklas Cassel <cassel@kernel.org>
---
 include/linux/libata.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Damien Le Moal June 27, 2024, 1:16 a.m. UTC | #1
On 6/27/24 03:00, Niklas Cassel wrote:
> Remove unsed function declaration for ata_scsi_detect().

s/unsed/unused

With that:

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Hannes Reinecke June 27, 2024, 6:31 a.m. UTC | #2
On 6/26/24 20:00, Niklas Cassel wrote:
> Remove unsed function declaration for ata_scsi_detect().
> 
> Signed-off-by: Niklas Cassel <cassel@kernel.org>
> ---
>   include/linux/libata.h | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/libata.h b/include/linux/libata.h
> index 586f0116d1d7..580971e11804 100644
> --- a/include/linux/libata.h
> +++ b/include/linux/libata.h
> @@ -1082,7 +1082,6 @@ extern int ata_host_activate(struct ata_host *host, int irq,
>   			     const struct scsi_host_template *sht);
>   extern void ata_host_detach(struct ata_host *host);
>   extern void ata_host_init(struct ata_host *, struct device *, struct ata_port_operations *);
> -extern int ata_scsi_detect(struct scsi_host_template *sht);
>   extern int ata_scsi_ioctl(struct scsi_device *dev, unsigned int cmd,
>   			  void __user *arg);
>   #ifdef CONFIG_COMPAT

Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
diff mbox series

Patch

diff --git a/include/linux/libata.h b/include/linux/libata.h
index 586f0116d1d7..580971e11804 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1082,7 +1082,6 @@  extern int ata_host_activate(struct ata_host *host, int irq,
 			     const struct scsi_host_template *sht);
 extern void ata_host_detach(struct ata_host *host);
 extern void ata_host_init(struct ata_host *, struct device *, struct ata_port_operations *);
-extern int ata_scsi_detect(struct scsi_host_template *sht);
 extern int ata_scsi_ioctl(struct scsi_device *dev, unsigned int cmd,
 			  void __user *arg);
 #ifdef CONFIG_COMPAT