projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb2ec4
)
ocfs2: remove unneeded code in ocfs2_dlm_init
author
Joseph Qi
<
[email protected]
>
Fri, 4 Sep 2015 22:43:54 +0000
(15:43 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 4 Sep 2015 23:54:41 +0000
(16:54 -0700)
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 <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/dlmglue.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dlmglue.c
b/fs/ocfs2/dlmglue.c
index 23157e40dd740204bc10f9eaeb55ec08f2f0dfb4..1c91103c13339aca31b51f7b45de4a8beb05e3bb 100644
(file)
--- a/
fs/ocfs2/dlmglue.c
+++ b/
fs/ocfs2/dlmglue.c
@@
-3035,8
+3035,6
@@
local:
ocfs2_orphan_scan_lock_res_init(&osb->osb_orphan_scan.os_lockres, osb);
osb->cconn = conn;
-
- status = 0;
bail:
if (status < 0) {
ocfs2_dlm_shutdown_debug(osb);