From 3bcf7d7df552c8bd4fdfe70b753f45169407cacb Mon Sep 17 00:00:00 2001 From: Mao Zhongyi Date: Thu, 8 Jun 2017 11:11:24 +0800 Subject: util/qemu-sockets: Drop unused helper socket_address_to_string() Signed-off-by: Mao Zhongyi Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- include/qemu/sockets.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include') diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index 5c326db..ef6b559 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -106,21 +106,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 * -- cgit v1.1