[ovs-dev] [PATCH] lib: Remove unused function prototypes

Russell Bryant russell at ovn.org
Fri Feb 12 19:05:58 UTC 2016


On 02/12/2016 02:04 PM, Andy Zhou wrote:
> Found by inspection.
> 
> Signed-off-by: Andy Zhou <azhou at ovn.org>
> ---
>  lib/stream.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/lib/stream.h b/lib/stream.h
> index 0db50da..f8e1891 100644
> --- a/lib/stream.h
> +++ b/lib/stream.h
> @@ -37,10 +37,6 @@ int stream_open(const char *name, struct stream **, uint8_t dscp);
>  int stream_open_block(int error, struct stream **);
>  void stream_close(struct stream *);
>  const char *stream_get_name(const struct stream *);
> -ovs_be32 stream_get_remote_ip(const struct stream *);
> -ovs_be16 stream_get_remote_port(const struct stream *);
> -ovs_be32 stream_get_local_ip(const struct stream *);
> -ovs_be16 stream_get_local_port(const struct stream *);
>  int stream_connect(struct stream *);
>  int stream_recv(struct stream *, void *buffer, size_t n);
>  int stream_send(struct stream *, const void *buffer, size_t n);
> 

Acked-by: Russell Bryant <russell at ovn.org>

-- 
Russell Bryant



More information about the dev mailing list