]> git.baikalelectronics.ru Git - kernel.git/commit
kexec: vmcoreinfo_data[] can become static
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>
Thu, 2 Apr 2009 23:58:58 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:04 +0000 (19:05 -0700)
commit0b94893def2498e126090a73d41a269a9916d36d
treeb89191aec3c415256ee2d5a646a4f2afb1125c89
parent728c5e7b25ccecc95ab16ee16423d44ddd55a2d1
kexec: vmcoreinfo_data[] can become static

The vmcoreinfo_data[] array is not used outside of kernel/kexec.c, and
can therefore become static. This patch adds the relevant keyword to the
definition of the array.

Noticed by sparse.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kexec.c