Re: [PATCH v4 3/5] scsi: libsas: Make sas_get_ata_info() static

Jason Yan
2025-07-25T06:22:34Z

在 2025/7/25 9:58, Damien Le Moal 写道:
> The function sas_get_ata_info() is used only in
> drivers/scsi/libsas/sas_ata.c. Remove its definition from
> include/scsi/sas_ata.h and make this function static.
>
> No functional changes.
>
> Signed-off-by: Damien Le Moal<dlemoal@kernel.org>
> Reviewed-by: Johannes Thumshirn<johannes.thumshirn@wdc.com>
> Reviewed-by: John Garry<john.g.garry@oracle.com>
> ---
> drivers/scsi/libsas/sas_ata.c | 2 +-
> include/scsi/sas_ata.h | 6 ------
> 2 files changed, 1 insertion(+), 7 deletions(-)

Reviewed-by: Jason Yan <yanaijie@huawei.com>