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>
Wed, 9 Apr 2014 16:53:21 +0000 (10:53 -0600)
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

Simple merge