diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-11-17 23:11:56 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-11-21 16:45:49 +0100 |
commit | 1351975ac1377225cef5d858971e17252c06ff51 (patch) | |
tree | 38b6a84f8e7b8b851567e6d66ce9f8261b421e27 /fs/dlm/lowcomms.c | |
parent | fs: dlm: use saved sk_error_report() (diff) | |
download | linux-1351975ac1377225cef5d858971e17252c06ff51.tar.xz 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/lowcomms.c')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
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) { |