]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: remove unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Dec 2014 23:42:07 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commit8436d1ae2ebe158ced88797b1e2a8dd7ec0b9925
tree2ae550c649d8f302e89af076c7c25bbfcd4fcfc7
parent54710e4d715ce4fbf16fc47de4da4f4f25ef109a
ocfs2: remove unneeded NULL check

In commit bb57b57b438e ("ocfs2_dlm: disallow a domain join if node maps
mismatch") we introduced a new earlier NULL check so this one is not
needed.  Also static checkers complain because we dereference it first
and then check for NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
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/dlmdomain.c