sysctl: set variable sysctl_mount_point storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Fri, 30 Jun 2023 23:19:47 +0000 (16:19 -0700)
committerLuis Chamberlain <mcgrof@kernel.org>
Fri, 30 Jun 2023 23:19:47 +0000 (16:19 -0700)
commit7fffbc71075dcb733068d711c2593127cdce86f0
treeb8e3d6334d8ef48f0fc33483abf57d6cd1832ebd
parentb25f62ccb490680a8cee755ac4528909395e0711
sysctl: set variable sysctl_mount_point storage-class-specifier to static

smatch reports
fs/proc/proc_sysctl.c:32:18: warning: symbol
  'sysctl_mount_point' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
fs/proc/proc_sysctl.c