summaryrefslogtreecommitdiff
path: root/fs/ocfs2/uptodate.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 03:06:06 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:53:53 +0400
commit1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702 (patch)
tree8b2973b172129717816b468ea473fcb010b3816e /fs/ocfs2/uptodate.c
parentc0f35cc0be0e1d06b89d5867a6db09eda5033189 (diff)
downloadlinux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.tar.xz
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/uptodate.c')
-rw-r--r--fs/ocfs2/uptodate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/uptodate.c b/fs/ocfs2/uptodate.c
index 52eaf33d346f..82e17b076ce7 100644
--- a/fs/ocfs2/uptodate.c
+++ b/fs/ocfs2/uptodate.c
@@ -67,7 +67,7 @@ struct ocfs2_meta_cache_item {
sector_t c_block;
};
-static struct kmem_cache *ocfs2_uptodate_cachep = NULL;
+static struct kmem_cache *ocfs2_uptodate_cachep;
u64 ocfs2_metadata_cache_owner(struct ocfs2_caching_info *ci)
{