diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2016-03-15 22:54:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-16 00:55:16 +0100 |
commit | 70f75067b15659bb03404e75eded41011c67dc57 (patch) | |
tree | 62e7fc5d7802b82d1953be3b884a36aa860cbd49 /kernel | |
parent | mm/slab: introduce new slab management type, OBJFREELIST_SLAB (diff) | |
download | linux-70f75067b15659bb03404e75eded41011c67dc57.tar.xz linux-70f75067b15659bb03404e75eded41011c67dc57.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions