summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-11-17 17:11:56 -0500
committerDavid Teigland <teigland@redhat.com>2022-11-21 09:45:49 -0600
commit1351975ac1377225cef5d858971e17252c06ff51 (patch)
tree38b6a84f8e7b8b851567e6d66ce9f8261b421e27 /fs/dlm
parentc852a6d70698d5e4a9f3670ecabf9656ff00c73c (diff)
downloadlinux-1351975ac1377225cef5d858971e17252c06ff51.tar.gz
linux-1351975ac1377225cef5d858971e17252c06ff51.tar.bz2
linux-1351975ac1377225cef5d858971e17252c06ff51.zip
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 <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 643f9810ec35..c6b91f67a2c2 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) {