ocfs2/dlm: remove redundant null pointer check
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 29 Apr 2013 22:06:00 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:27 +0000 (15:54 -0700)
commit7cfa74d1018f871e82da1a36992369df5ddda6fa
tree94f44f4b4f5e30ba070b0a3aa63fe0778e5f6f2e
parent7f4804d4c8b78ca223cee50e22ddaea9903f0930
ocfs2/dlm: remove redundant null pointer check

kfree on a NULL pointer is a no-op.  Remove the redundant null pointer
check.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/dlm/dlmrecovery.c