diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-06 09:56:55 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-08-07 18:23:09 +0200 |
commit | 2ab93ae13822741432338c9d0917a6009e737a5a (patch) | |
tree | aa49fc47afe4ce1be5e4e4474f8057f459a3c8f3 /fs/dlm | |
parent | dlm: Improve a size determination in two functions (diff) | |
download | linux-2ab93ae13822741432338c9d0917a6009e737a5a.tar.xz linux-2ab93ae13822741432338c9d0917a6009e737a5a.zip |
dlm: Delete an unnecessary variable initialisation in dlm_ls_start()
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/member.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/member.c b/fs/dlm/member.c index 3e565034ff2e..3fda3832cf6a 100644 --- 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; |