diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-05 01:06:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:53:53 +0200 |
commit | 1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702 (patch) | |
tree | 8b2973b172129717816b468ea473fcb010b3816e /fs/ocfs2/dlm/dlmlock.c | |
parent | lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug (diff) | |
download | linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.tar.xz 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/dlmlock.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmlock.c b/fs/ocfs2/dlm/dlmlock.c index 5d32f7511f74..66c2a491f68d 100644 --- a/fs/ocfs2/dlm/dlmlock.c +++ b/fs/ocfs2/dlm/dlmlock.c @@ -52,7 +52,7 @@ #define MLOG_MASK_PREFIX ML_DLM #include "cluster/masklog.h" -static struct kmem_cache *dlm_lock_cache = NULL; +static struct kmem_cache *dlm_lock_cache; static DEFINE_SPINLOCK(dlm_cookie_lock); static u64 dlm_next_cookie = 1; |