projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12ad1a
)
dlm: Delete an unnecessary variable initialisation in dlm_ls_start()
author
Markus Elfring
<elfring@users.sourceforge.net>
Sat, 6 May 2017 07:56:55 +0000
(09:56 +0200)
committer
David Teigland
<teigland@redhat.com>
Mon, 7 Aug 2017 16:23:09 +0000
(11:23 -0500)
The local variable "rv" is reassigned by a statement at the beginning.
Thus omit the explicit initialisation.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/member.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dlm/member.c
b/fs/dlm/member.c
index 3e565034ff2e57444ce8f742bd492b430b0dab20..3fda3832cf6a62761e5aa8294c4c1e81919267eb 100644
(file)
--- a/
fs/dlm/member.c
+++ b/
fs/dlm/member.c
@@
-670,7
+670,7
@@
int dlm_ls_stop(struct dlm_ls *ls)
int dlm_ls_start(struct dlm_ls *ls)
{
- struct dlm_recover *rv
= NULL
, *rv_old;
+ struct dlm_recover *rv, *rv_old;
struct dlm_config_node *nodes;
int error, count;