ocfs2: clean up redundant NULL checks before kfree
authorJoseph Qi <joseph.qi@huawei.com>
Fri, 4 Sep 2015 22:44:54 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit46359295a352e01a5a017297c70b7ee0c5da6de6
tree4cc67d091837a189a4aee12de2c32078db5055da
parent7ecef14ab1db961545354fa443749aeda2ea1b75
ocfs2: clean up redundant NULL checks before kfree

NULL check before kfree is redundant and so clean them up.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/alloc.c
fs/ocfs2/suballoc.c