fs/proc/vmcore.c: remove NULL assignment on static
Subsystems (2)
PATCH 1/1 fs/proc/vmcore.c: remove NULL assignment on static
static values are automatically initialized to NULL
Cc Andrew Morton <[email protected]>
Cc Vivek Goyal <[email protected]>
Signed-off-by Fabian Frederick <[email protected]>
--- fs/proc/vmcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/vmcore.c +1 -1
@@ -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
Signature · 1 line
1.8.4.5