ocfs2: remove unneeded code in ocfs2_dlm_init
authorJoseph Qi <joseph.qi@huawei.com>
Fri, 4 Sep 2015 22:43:54 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit914a9b74295774b92409fbc3e0abcfa9185d9469
treeede4f9f77000425138f8cca325640e2a028b8d0e
parent3cb2ec43f63c42412a18620f1226eb4aa434a7a8
ocfs2: remove unneeded code in ocfs2_dlm_init

status is already initialized and it will only be 0 or negatives in the
code flow.  So remove the unneeded assignment after the lable 'local'.

Signed-off-by: Joseph Qi <joseph.qi@huawei.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/dlmglue.c