(subset) [PATCH v3 0/2] Remove unreachable code and cleanup code with fixed return

Tom Rini trini at konsulko.com
Thu Jul 24 23:30:26 CEST 2025


On Wed, 16 Jul 2025 10:58:37 +0100, Andrew Goodbody wrote:

> Smatch reported unreachable code in blk-uclass.c which led to noticing
> that uclass_find_next_device always returned 0 which meant it had no
> need of any return value.
> 
> 

Applied to u-boot/master, thanks!

[2/2] uclass: Cleanup uclass_find_next_device
      commit: 70bf6e33e15e2ce56f6e3e9a3f725136c9c6f486
-- 
Tom




More information about the U-Boot mailing list