diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:06:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:53:53 -0400 |
commit | 1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702 (patch) | |
tree | 8b2973b172129717816b468ea473fcb010b3816e /fs/ocfs2/super.c | |
parent | c0f35cc0be0e1d06b89d5867a6db09eda5033189 (diff) |
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/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index a7cdd56f4c79..9027729e3992 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -75,7 +75,7 @@ | |||
75 | 75 | ||
76 | #include "buffer_head_io.h" | 76 | #include "buffer_head_io.h" |
77 | 77 | ||
78 | static struct kmem_cache *ocfs2_inode_cachep = NULL; | 78 | static struct kmem_cache *ocfs2_inode_cachep; |
79 | struct kmem_cache *ocfs2_dquot_cachep; | 79 | struct kmem_cache *ocfs2_dquot_cachep; |
80 | struct kmem_cache *ocfs2_qf_chunk_cachep; | 80 | struct kmem_cache *ocfs2_qf_chunk_cachep; |
81 | 81 | ||
@@ -85,7 +85,7 @@ struct kmem_cache *ocfs2_qf_chunk_cachep; | |||
85 | * workqueue and schedule on our own. */ | 85 | * workqueue and schedule on our own. */ |
86 | struct workqueue_struct *ocfs2_wq = NULL; | 86 | struct workqueue_struct *ocfs2_wq = NULL; |
87 | 87 | ||
88 | static struct dentry *ocfs2_debugfs_root = NULL; | 88 | static struct dentry *ocfs2_debugfs_root; |
89 | 89 | ||
90 | MODULE_AUTHOR("Oracle"); | 90 | MODULE_AUTHOR("Oracle"); |
91 | MODULE_LICENSE("GPL"); | 91 | MODULE_LICENSE("GPL"); |