diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2015-01-08 23:32:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-09 00:10:51 +0100 |
commit | eb4f73b4ca6c04f31af6f1ff1bf11b5020a1216f (patch) | |
tree | 92051ca09f0dcfaa4600c134279461cd25630685 /kernel/exit.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-eb4f73b4ca6c04f31af6f1ff1bf11b5020a1216f.tar.xz linux-eb4f73b4ca6c04f31af6f1ff1bf11b5020a1216f.zip |
ocfs2: remove bogus check in dlm_process_recovery_data
In dlm_process_recovery_data, only when dlm_new_lock failed the ret will
be set to -ENOMEM. And in this case, newlock is definitely NULL. So
test newlock is meaningless, remove it.
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Alex Chen <alex.chen@huawei.com>
Reviewed-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>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions