mirror of https://github.com/yandex/odyssey.git
odyssey: remove unused field
This commit is contained in:
parent
9fcf2a4a80
commit
fb07550d06
|
@ -226,7 +226,6 @@ od_system_listen(od_system_t *system)
|
||||||
listen->port);
|
listen->port);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
system->addr = ai;
|
|
||||||
|
|
||||||
/* listen resolved addresses */
|
/* listen resolved addresses */
|
||||||
if (host) {
|
if (host) {
|
||||||
|
@ -387,7 +386,6 @@ int od_system_init(od_system_t *system, od_instance_t *instance)
|
||||||
{
|
{
|
||||||
system->machine = -1;
|
system->machine = -1;
|
||||||
system->instance = instance;
|
system->instance = instance;
|
||||||
system->addr = NULL;
|
|
||||||
memset(&system->global, 0, sizeof(system->global));
|
memset(&system->global, 0, sizeof(system->global));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,9 @@ struct od_systemserver
|
||||||
|
|
||||||
struct od_system
|
struct od_system
|
||||||
{
|
{
|
||||||
int64_t machine;
|
int64_t machine;
|
||||||
struct addrinfo *addr;
|
od_global_t global;
|
||||||
od_global_t global;
|
od_instance_t *instance;
|
||||||
od_instance_t *instance;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int od_system_init(od_system_t*, od_instance_t*);
|
int od_system_init(od_system_t*, od_instance_t*);
|
||||||
|
|
Loading…
Reference in New Issue