blk-mq: simplify blk_mq_hw_sysfs_cpus_show()
authorJens Axboe <axboe@fb.com>
Wed, 9 Apr 2014 16:53:21 +0000 (10:53 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:44 +0000 (12:54 -0600)
commite492cf46defce30e903777ec8c930157fcdb0ddd
treed42fe8036b02164f3bed388dacb54733b508964b
parenta1f5dbc85ab32f993682e378f91d0eba8a6fca46
blk-mq: simplify blk_mq_hw_sysfs_cpus_show()

Now that we have a cpu mask of CPUs that are mapped to
a specific hardware queue, we can just iterate that to
display the sysfs num-hw-queue/cpu_list file.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sysfs.c