Skip to content

Commit

Permalink
fs/proc/vmcore.c: remove NULL assignment to static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Linus Torvalds committed Jun 6, 2014
1 parent 17c2b4e commit a05e16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/vmcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a05e16a

Please sign in to comment.