提交 a05e16ad 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

fs/proc/vmcore.c: remove NULL assignment to static

Static values are automatically initialized to NULL.
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 17c2b4ee
...@@ -42,7 +42,7 @@ static size_t elfnotes_sz; ...@@ -42,7 +42,7 @@ static size_t elfnotes_sz;
/* Total size of vmcore file. */ /* Total size of vmcore file. */
static u64 vmcore_size; static u64 vmcore_size;
static struct proc_dir_entry *proc_vmcore = NULL; static struct proc_dir_entry *proc_vmcore;
/* /*
* Returns > 0 for RAM pages, 0 for non-RAM pages, < 0 on error * Returns > 0 for RAM pages, 0 for non-RAM pages, < 0 on error
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册