fs/iomap.c: change return type to vm_fault_t
[linux-2.6-microblaze.git] / block / blk-mq-cpumap.c
index 4891f04..3eb169f 100644 (file)
 
 static int cpu_to_queue_index(unsigned int nr_queues, const int cpu)
 {
-       /*
-        * Non online CPU will be mapped to queue index 0.
-        */
-       if (!cpu_online(cpu))
-               return 0;
        return cpu % nr_queues;
 }