diff --git a/src/bin/system/machine/network.bogox b/src/bin/system/machine/network.bogox index a864f83..dc4bd83 100644 --- a/src/bin/system/machine/network.bogox +++ b/src/bin/system/machine/network.bogox @@ -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) {