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:
2bcb654
)
ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast()
author
Changwei Ge
<
[email protected]
>
Thu, 5 Apr 2018 23:19:07 +0000
(16:19 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Apr 2018 04:36:22 +0000
(21:36 -0700)
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Changwei Ge <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Cc: Joseph Qi <
[email protected]
>
Cc: Junxiao Bi <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Changwei Ge <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/dlm/dlmast.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dlm/dlmast.c
b/fs/ocfs2/dlm/dlmast.c
index fd6bbbbd7d78df8f94534076f068f470c0f8f9d2..39831fc2fd52c12deac013d36079411daf946d5e 100644
(file)
--- a/
fs/ocfs2/dlm/dlmast.c
+++ b/
fs/ocfs2/dlm/dlmast.c
@@
-224,14
+224,12
@@
void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
struct dlm_lock *lock)
{
dlm_astlockfunc_t *fn;
- struct dlm_lockstatus *lksb;
mlog(0, "%s: res %.*s, lock %u:%llu, Local AST\n", dlm->name,
res->lockname.len, res->lockname.name,
dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)),
dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)));
- lksb = lock->lksb;
fn = lock->ast;
BUG_ON(lock->ml.node != dlm->node_num);