Merge 4.14.70 into android-4.14-p
[GitHub/moto-9609/android_kernel_motorola_exynos9610.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;
 }