kvm: x86: IA32_ARCH_CAPABILITIES is always supported
[linux-2.6-microblaze.git] / block / blk-mq-cpumap.c
index 9f8cffc..3eb169f 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;
 }