]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitedb79a213223488735fae1d408f4c136e9ed25d6
treeb89191aec3c415256ee2d5a646a4f2afb1125c89
parent04d491ab2a53008a1aa98ac09561768c7f3adda3
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