static int _hostsock_device_release(oe_device_t* device_)
{
    int ret = -1;
    device_t* device = _cast_device(device_);

    oe_errno = 0;

    if (!device)
        OE_RAISE_ERRNO(OE_EINVAL);

    // This device is registered by oe_load_module_host_socket_interface() and
    // is static, so there are no resources to reclaim here.

    ret = 0;

done:

    return ret;
}
static int _hostsock_device_release(oe_device_t* device_)
{
    int ret = -1;
    device_t* device = _cast_device(device_);

    oe_errno = 0;

    if (!device)
        OE_RAISE_ERRNO(OE_EINVAL);

     
     

    ret = 0;

done:

    return ret;
}