提交 2ab93ae1 编写于 作者: M Markus Elfring 提交者: David Teigland

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: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NDavid Teigland <teigland@redhat.com>
上级 d12ad1a9
...@@ -670,7 +670,7 @@ int dlm_ls_stop(struct dlm_ls *ls) ...@@ -670,7 +670,7 @@ int dlm_ls_stop(struct dlm_ls *ls)
int dlm_ls_start(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; struct dlm_config_node *nodes;
int error, count; int error, count;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册