]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - block/blk-mq-cpumap.c
blk-mq: reinit q->tag_set_list entry only after grace period
[mirror_ubuntu-bionic-kernel.git] / block / blk-mq-cpumap.c
index 9f8cffc8a701ec24c87729b9ef4a1048cc7d205f..3eb169f15842c04723b51cbe9e63d47b9f5d156e 100644 (file)
 
 static int cpu_to_queue_index(unsigned int nr_queues, const int cpu)
 {
-       /*
-        * Non present CPU will be mapped to queue index 0.
-        */
-       if (!cpu_present(cpu))
-               return 0;
        return cpu % nr_queues;
 }