diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-21 11:11:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-10-21 11:12:54 +0200 |
commit | 272dfc1f024f3481d5c94942a84afe592d91394c (patch) | |
tree | e63ac941a678af8c7cccd2a4e446c9f8547b4420 /src/plugin.c | |
parent | 3f464fc007ace5a829e8d43e72a88055f14b52e3 (diff) |
socket: Remove unneeded condition check in osmo_sock_init2_multiaddr()
Since we return error at the start of the function if proto !=
IPPROTO_SCTP, it makes no sense to check for proto != IPPROTO_UDP later
on.
Fixes: CID#205088
Change-Id: Ibba7eacaa9debb77d536d47dc85170c5ee79e479
Diffstat (limited to 'src/plugin.c')
0 files changed, 0 insertions, 0 deletions