Commit 1351975a authored by Alexander Aring's avatar Alexander Aring Committed by David Teigland

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: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent c852a6d7
...@@ -1830,7 +1830,7 @@ static const struct dlm_proto_ops dlm_sctp_ops = { ...@@ -1830,7 +1830,7 @@ static const struct dlm_proto_ops dlm_sctp_ops = {
int dlm_lowcomms_start(void) int dlm_lowcomms_start(void)
{ {
int error = -EINVAL; int error;
init_local(); init_local();
if (!dlm_local_count) { if (!dlm_local_count) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment