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>
This commit is contained in:
Markus Elfring 2017-05-06 09:56:55 +02:00 committed by David Teigland
parent d12ad1a964
commit 2ab93ae138

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;