[PATCH 09/17] include/dfu.h: Audit include list

Mattijs Korpershoek mkorpershoek at kernel.org
Thu May 22 09:05:45 CEST 2025


Hi Tom,

Thank you for the patch.

On mer., mai 21, 2025 at 16:51, Tom Rini <trini at konsulko.com> wrote:

> This file does not need a forward declaration of 'struct list_head' as
> it includes <linux/list.h> so remove it.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>

> ---
> Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
> ---
>  include/dfu.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/dfu.h b/include/dfu.h
> index 12f9dfcdfcdf..80593a906fd2 100644
> --- a/include/dfu.h
> +++ b/include/dfu.h
> @@ -173,7 +173,6 @@ struct dfu_entity {
>  	unsigned int inited:1;
>  };
>  
> -struct list_head;
>  extern struct list_head dfu_list;
>  
>  #ifdef CONFIG_SET_DFU_ALT_INFO
> -- 
> 2.43.0


More information about the U-Boot mailing list