[PATCH] net: remove commented out line

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Mar 21 15:47:30 CET 2025


On 21.03.25 13:42, Jerome Forissier wrote:
> Commit 1d5d292b7941 ("net: split net into net{,-common,-legacy,-lwip}")
> inadvertendly left a commented out declaration for do_wget() in
> net-common.h. Remove it.
>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>

The definition was moved to include/net-lwip.h.

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> ---
>   include/net-common.h | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/include/net-common.h b/include/net-common.h
> index 29d31f37263..89679e20860 100644
> --- a/include/net-common.h
> +++ b/include/net-common.h
> @@ -518,7 +518,6 @@ int wget_do_request(ulong dst_addr, char *uri);
>    * Return:	true if uri is valid, false if uri is invalid
>    */
>   bool wget_validate_uri(char *uri);
> -//int do_wget(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
>
>   /**
>    * enum wget_http_method - http method



More information about the U-Boot mailing list