Re: [PATCH] block: remove blk-mq-sysfs dead code

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

 



On 7/28/21 4:58 PM, Damien Le Moal wrote:
> On 2021/07/13 17:18, Damien Le Moal wrote:
>> In block/blk-mq-sysfs.c, struct blk_mq_ctx_sysfs_entry is not used to
>> define any attribute since the "mq" sysfs directory contains only
>> sub-directories (no attribute files). As a result, blk_mq_sysfs_show(),
>> blk_mq_sysfs_store(), and struct sysfs_ops blk_mq_sysfs_ops are all
>> unused and unnecessary. Remove all this unused code.
> 
> Jens,
> 
> any comment on this one ?

Shoot, I actually remember reading this one and thought I had applied it.
Guess I did not - now rectified, added for 5.15.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux