1
0
Fork 0

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>
hifive-unleashed-5.1
Markus Elfring 2017-05-06 09:56:55 +02:00 committed by David Teigland
parent d12ad1a964
commit 2ab93ae138
1 changed files with 1 additions and 1 deletions

View File

@ -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;