What is the point of this function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, i was looking at the linux/sched.h (kernel version 4.6.2) source code and i found this function at line 1174

static inline bool cpus_share_cache(int this_cpu, int that_cpu)
{
        return true;
}

I'm not able to understand the utility of a function that just return a true value. 
i've noticed that there are a lot of functions like this (function that just return a constant). 

so...why? 
thanks.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux