summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmdebug.c
diff options
context:
space:
mode:
authorFabian Frederick2014-06-05 01:06:06 +0200
committerLinus Torvalds2014-06-05 01:53:53 +0200
commit1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702 (patch)
tree8b2973b172129717816b468ea473fcb010b3816e /fs/ocfs2/dlm/dlmdebug.c
parentlib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug (diff)
downloadkernel-qcow2-linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.tar.gz
kernel-qcow2-linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.tar.xz
kernel-qcow2-linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.zip
ocfs2: remove NULL assignments on static
Static values are automatically initialized to NULL. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlm/dlmdebug.c')
-rw-r--r--fs/ocfs2/dlm/dlmdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmdebug.c b/fs/ocfs2/dlm/dlmdebug.c
index e33cd7a3c582..18f13c2e4a10 100644
--- a/fs/ocfs2/dlm/dlmdebug.c
+++ b/fs/ocfs2/dlm/dlmdebug.c
@@ -338,7 +338,7 @@ void dlm_print_one_mle(struct dlm_master_list_entry *mle)
#ifdef CONFIG_DEBUG_FS
-static struct dentry *dlm_debugfs_root = NULL;
+static struct dentry *dlm_debugfs_root;
#define DLM_DEBUGFS_DIR "o2dlm"
#define DLM_DEBUGFS_DLM_STATE "dlm_state"