build: fix on openbsd

This commit is contained in:
Alastair Poole 2021-04-23 09:54:58 +01:00
parent d91d6e809c
commit 0bcff306aa
1 changed files with 0 additions and 3 deletions

View File

@ -92,9 +92,6 @@ _openbsd_generic_network_status(int *n)
if (!LINK_STATE_IS_UP(ifi->ifi_link_state))
continue;
net_iface_t *iface = malloc(sizeof(net_iface_t));
if (!iface) return NULL;
net_iface_t *iface = malloc(sizeof(net_iface_t));
if (iface)
{