summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorYue Hu2019-03-06 00:49:27 +0100
committerLinus Torvalds2019-03-06 06:07:20 +0100
commit5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41 (patch)
tree54236e14fb6347f320a7122cae1e30cdc4b6f69e /mm/swapfile.c
parenttmpfs: test link accounting with O_TMPFILE (diff)
downloadkernel-qcow2-linux-5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41.tar.gz
kernel-qcow2-linux-5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41.tar.xz
kernel-qcow2-linux-5a7f1b2f2fbeb40c735639c9a86910d86fd5ec41.zip
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 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions