mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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:
parent
d12ad1a964
commit
2ab93ae138
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user