Re: [PATCH 2/3] ata: libata-core: Make ata_dev_cleanup_cdl_resources() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 03, 2025 at 04:15:40PM +0900, Damien Le Moal wrote:
> The function ata_dev_cleanup_cdl_resources() is called only from
> ata_dev_init_cdl_resources() and ata_dev_free_resources() which are
> both defined in drivers/ata/libata-core.c. So there is no need for
> ata_dev_cleanup_cdl_resources() to be visible from outside of this
> file. Change this function definition to be a static function.
> 
> No functional changes.
> 
> Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

Reviewed-by: Niklas Cassel <cassel@xxxxxxxxxx>




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux