[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c0122498-4a7f-d5f3-9a73-0f804d3b07d2@users.sourceforge.net>
Date: Sat, 6 May 2017 10:48:35 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: cluster-devel@...hat.com,
Christine Caulfield <ccaulfie@...hat.com>,
David Teigland <teigland@...hat.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 10/10] dlm: Delete an unnecessary variable initialisation in
dlm_ls_start()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 6 May 2017 09:56:55 +0200
The local variable "rv" is reassigned by a statement at the beginning.
Thus omit the explicit initialisation.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
fs/dlm/member.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.12.2
Powered by blists - more mailing lists