ss7: Drop unneeded else branch after early return
Change-Id: I845be6bfbf36ec8a38697ca92420483a9d41aa6c
This commit is contained in:
parent
d01c45918d
commit
08cb70e158
|
@ -1569,10 +1569,9 @@ static bool ipv6_sctp_supported(const char *host, bool bind)
|
|||
LOGP(DLSS7, LOGL_NOTICE, "Default IPv6 address %s not supported: %s\n",
|
||||
host, gai_strerror(rc));
|
||||
return false;
|
||||
} else {
|
||||
freeaddrinfo(result);
|
||||
return true;
|
||||
}
|
||||
freeaddrinfo(result);
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Set default values for local and remote peer hosts if they are not yet set.
|
||||
|
|
Loading…
Reference in New Issue