From mboxrd@z Thu Jan 1 00:00:00 1970 From: andreabenelli77@gmail.com (Andrea Benelli) Date: Tue, 21 Jun 2016 00:48:28 +0200 Subject: What is the point of this function? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160621/5be09bcd/attachment.html