diff options
author | Yue Hu <huyue2@yulong.com> | 2019-03-05 15:49:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-05 21:07:20 -0800 |
commit | 5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41 (patch) | |
tree | 54236e14fb6347f320a7122cae1e30cdc4b6f69e /fs | |
parent | a33228682c2039f086823ac798242734ec0eb4e5 (diff) | |
download | linux-5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41.tar.bz2 |
mm/cma_debug.c: remove static scoped cma_debugfs_root
Currently cma_debugfs_root is static storage. That is unnecessary since
it will be only used by next cma_debugfs_add_one(). We can just pass it
to following calling to save thisspace. Also remove useless idx
parameter.
Link: http://lkml.kernel.org/r/20190221040130.8940-1-zbestahu@gmail.com
Signed-off-by: Yue Hu <huyue2@yulong.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions