[PATCH 1/1] net: remove duplicate definition of ip_to_string()
Ilias Apalodimas
ilias.apalodimas at linaro.org
Mon Nov 25 17:21:05 CET 2024
On Mon, 25 Nov 2024 at 17:09, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> ip_to_string() was added to net-common.h but not removed from net-legacy.h
> in commit 9063dba2d326 ("net: net_utils: Move ip_to_string to
> lib/net_utils.c").
>
> Fixes: 9063dba2d326 ("net: net_utils: Move ip_to_string to lib/net_utils.c")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> include/net-legacy.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/include/net-legacy.h b/include/net-legacy.h
> index ca1efd17af7..5a431fc6b16 100644
> --- a/include/net-legacy.h
> +++ b/include/net-legacy.h
> @@ -502,9 +502,6 @@ static inline void net_copy_u32(void *to, void *from)
> memcpy((void *)to, (void *)from, sizeof(u32));
> }
>
> -/* Convert an IP address to a string */
> -void ip_to_string(struct in_addr x, char *s);
> -
> /**
> * string_to_ip() - Convert a string to ip address
> *
> --
> 2.45.2
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list