Skip to content

Commit a05e16a

Browse files
Fabian Fredericktorvalds
authored andcommitted
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>
1 parent 17c2b4e commit a05e16a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/proc/vmcore.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static size_t elfnotes_sz;
4242
/* Total size of vmcore file. */
4343
static u64 vmcore_size;
4444

45-
static struct proc_dir_entry *proc_vmcore = NULL;
45+
static struct proc_dir_entry *proc_vmcore;
4646

4747
/*
4848
* Returns > 0 for RAM pages, 0 for non-RAM pages, < 0 on error

0 commit comments

Comments
 (0)