Remove useless code.

This commit is contained in:
irungentoo 2014-08-14 14:43:01 -04:00
parent 78dd2234e0
commit dbab15cf0c
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 0 additions and 7 deletions

View File

@ -338,12 +338,6 @@ int sendpacket(Networking_Core *net, IP_Port ip_port, const uint8_t *data, uint3
loglogdata("O=>", data, length, ip_port, res);
if ((res >= 0) && ((uint32_t)res == length))
net->send_fail_eagain = 0;
else if ((res < 0) && (errno == EWOULDBLOCK))
net->send_fail_eagain = current_time_monotonic();
return res;
}

View File

@ -296,7 +296,6 @@ typedef struct {
uint16_t port;
/* Our UDP socket. */
sock_t sock;
uint64_t send_fail_eagain;
} Networking_Core;
/* Run this before creating sockets.