util/qemu-sockets: Drop unused helper socket_address_to_string()

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Mao Zhongyi
2017-07-11 11:18:37 +03:00
committed by Michael Tokarev
parent aa5a2c0b3d
commit 3bcf7d7df5
2 changed files with 0 additions and 49 deletions
-15
View File
@@ -105,21 +105,6 @@ SocketAddress *socket_local_address(int fd, Error **errp);
*/
SocketAddress *socket_remote_address(int fd, Error **errp);
/**
* socket_address_to_string:
* @addr: the socket address struct
* @errp: pointer to uninitialized error object
*
* Get the string representation of the socket
* address. A pointer to the char array containing
* string format will be returned, the caller is
* required to release the returned value when no
* longer required with g_free.
*
* Returns: the socket address in string format, or NULL on error
*/
char *socket_address_to_string(struct SocketAddress *addr, Error **errp);
/**
* socket_address_flatten:
* @addr: the socket address to flatten