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 <tr...@konsulko.com> --- Cc: Mattijs Korpershoek <mkorpersh...@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