Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ab93ae1 authored by Markus Elfring's avatar Markus Elfring Committed by David Teigland
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent d12ad1a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;