commit | 70f75067b15659bb03404e75eded41011c67dc57 | [log] [tgz] |
---|---|---|
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | Tue Mar 15 14:54:53 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 15 16:55:16 2016 -0700 |
tree | 62e7fc5d7802b82d1953be3b884a36aa860cbd49 | |
parent | b03a017bebc403d40aa53a092e79b3020786537d [diff] |
mm/slab: avoid returning values by reference Returing values by reference is bad practice. Instead, just use function return value. Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Suggested-by: Christoph Lameter <cl@linux.com> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>