fs/proc/vmcore.c: remove NULL assignment to static
Static values are automatically initialized to NULL. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
17c2b4ee40
commit
a05e16ada4
|
@ -42,7 +42,7 @@ static size_t elfnotes_sz;
|
|||
/* Total size of vmcore file. */
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue