[PATCH] file-list: remove unused variable

Marco Felsch m.felsch at pengutronix.de
Tue Apr 16 23:45:39 PDT 2024


On 24-04-17, Sascha Hauer wrote:
> struct file_list::num_entries is only ever used to check if a file list
> is empty. Do this check with list_empty() instead and remove the unused
> member.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>



More information about the barebox mailing list