From: Alexander Aring Date: Thu, 17 Nov 2022 22:11:56 +0000 (-0500) Subject: fs: dlm: don't init error value X-Git-Tag: v6.2-rc1~144^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1351975ac1377225cef5d858971e17252c06ff51;p=thirdparty%2Flinux.git fs: dlm: don't init error value This patch removes a init of an error value to -EINVAL which is not necessary. Signed-off-by: Alexander Aring Signed-off-by: David Teigland --- diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index 643f9810ec358..c6b91f67a2c26 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c @@ -1830,7 +1830,7 @@ static const struct dlm_proto_ops dlm_sctp_ops = { int dlm_lowcomms_start(void) { - int error = -EINVAL; + int error; init_local(); if (!dlm_local_count) {