]> git.baikalelectronics.ru Git - kernel.git/commit
mm/ksm.c: make stable_node_dup() static
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Apr 2018 23:22:01 +0000 (16:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Apr 2018 04:36:24 +0000 (21:36 -0700)
commit0e6df7acf6432a58c057db8b1f0d0ab85d89995c
treed958c757bce8cae45ee19da1e72133e23e239a2e
parent4b7820e93dbf6f0cd69716288475f6cdaf901991
mm/ksm.c: make stable_node_dup() static

stable_node_dup() is local to the source and does not need to be in
global scope, so make it static.

Cleans up sparse warning:

  mm/ksm.c:1321:13: warning: symbol 'stable_node_dup' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20180206221005.12642-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c