[PATCH] file-list: remove unused variable

Sascha Hauer s.hauer at pengutronix.de
Thu Apr 18 23:25:04 PDT 2024


On Wed, 17 Apr 2024 08:19:36 +0200, 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.
> 
> 

Applied, thanks!

[1/1] file-list: remove unused variable
      https://git.pengutronix.de/cgit/barebox/commit/?id=684dc87ce140 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list