From: Markus Elfring Date: Sat, 6 May 2017 07:56:55 +0000 (+0200) Subject: dlm: Delete an unnecessary variable initialisation in dlm_ls_start() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ab93ae13822741432338c9d0917a6009e737a5a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David Teigland --- diff --git a/fs/dlm/member.c b/fs/dlm/member.c index 3e565034ff2e..3fda3832cf6a 100644 --- a/fs/dlm/member.c +++ b/fs/dlm/member.c @@ -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;