]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa9ab7451e1aa6063555a675fabf0f65fb5d8122
treeede4f9f77000425138f8cca325640e2a028b8d0e
parentad51b50ffe7c170ce252aba73619b8d721a01979
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