diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-12-10 15:42:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:04 -0800 |
commit | b3e3e5af60e0fda182e978f568cc512568c024cf (patch) | |
tree | 2ae550c649d8f302e89af076c7c25bbfcd4fcfc7 /fs/char_dev.c | |
parent | 88d69b92fc12084af43cba428bda9727c0ca084f (diff) | |
download | op-kernel-dev-b3e3e5af60e0fda182e978f568cc512568c024cf.zip op-kernel-dev-b3e3e5af60e0fda182e978f568cc512568c024cf.tar.gz |
ocfs2: remove unneeded NULL check
In commit 1faf289454b9 ("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>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions