mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 14:55:18 +00:00
socket-util: Remove get_socket_error().
It has no remaining users. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -205,19 +205,6 @@ lookup_hostname(const char *host_name, struct in_addr *addr)
|
||||
: EINVAL);
|
||||
}
|
||||
|
||||
/* Returns the error condition associated with socket 'fd' and resets the
|
||||
* socket's error status. */
|
||||
int
|
||||
get_socket_error(int fd)
|
||||
{
|
||||
int error;
|
||||
|
||||
if (getsockopt_int(fd, SOL_SOCKET, SO_ERROR, "SO_ERROR", &error)) {
|
||||
error = errno;
|
||||
}
|
||||
return error;
|
||||
}
|
||||
|
||||
int
|
||||
check_connection_completion(int fd)
|
||||
{
|
||||
|
Reference in New Issue
Block a user