]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf188f771595d1a43ada3ec0811aaa6a0123d35e1
tree4cc67d091837a189a4aee12de2c32078db5055da
parentdc7e157069f994f5f3f1bd2da90f290694598bc9
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