mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 06:15:12 +00:00
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>
This commit is contained in:
parent
c852a6d706
commit
1351975ac1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user