Linus Torvalds writes: (Summary) wrote:
Is there a reason for the "ret" variable that is entirely mis-named, since it's never actually used as a return value?
since it's never actually used as a return value?
(Sure. We should name variables by the data they contain or how they are used, not by "it was the return value of a function").
was the return value of a function").
In other words, why isn't this just
In other words, why isn't this just
[...]
EXPORT_SYMBOL(idr_preload);Is there a reason for the "ret" variable that is entirely mis-named, since it's never actually used as a return value?
since it's never actually used as a return value?
(Sure. We should name variables by the data they contain or how they are used, not by "it was the return value of a function").
was the return value of a function").
In other words, why isn't this just
In other words, why isn't this just
if (__radix_tree_preload(..)) preempt_disable(); * ida_get_new() can return -EAGAIN, prompting the caller >