blk-mq: cleanup unused methods: blk_mq_hw_sysfs_store
authorZhong Jinghua <zhongjinghua@huawei.com>
Sat, 28 Jan 2023 03:04:19 +0000 (11:04 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:35 +0000 (15:18 -0700)
commitb36781034c42f9932bc6305e9a06490d61d9b8ff
tree56bcb8c64d156ba31ba71030e6f99e045c697657
parent9607cd36bb23e1c3271a394407c0caf4f7a207ab
blk-mq: cleanup unused methods: blk_mq_hw_sysfs_store

We found that the blk_mq_hw_sysfs_store interface has no place to use.
The object default_hw_ctx_attrs using blk_mq_hw_sysfs_ops only uses
the show method and does not use the store method.

Since this patch:
4a46f05ebf99 ("blk-mq: move hctx and ctx counters from sysfs to debugfs")
moved the store method to debugfs, the store method is not used anymore.

So let me do some tiny work to clean up unused code.

Signed-off-by: Zhong Jinghua <zhongjinghua@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230128030419.2780298-1-zhongjinghua@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sysfs.c