Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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