Re: [PATCH v4 07/10] ata,scsi: remove ata_sas_port_init()

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

 



On 31/07/2023 15:34, Niklas Cassel wrote:
From: Niklas Cassel<niklas.cassel@xxxxxxx>

ata_sas_port_init() now only contains a single initialization.

Move this single initialization to ata_sas_port_alloc(), since:
1) ata_sas_port_alloc() already initializes some of the struct members.
2) ata_sas_port_alloc() is only used by libsas.

Suggested-by: John Garry<john.g.garry@xxxxxxxxxx>
Signed-off-by: Niklas Cassel<niklas.cassel@xxxxxxx>

thanks
Reviewed-by: John Garry <john.g.garry@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