Commit a05e16ad authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

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

Static values are automatically initialized to NULL.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment