spl: Drop unwanted return in spl_fit_upload_fpga()
PATCH 1/1 spl: Drop unwanted return in spl_fit_upload_fpga()
This was added by mistake and renders the function useless. Fix it.
Signed-off-by Simon Glass <[email protected]>
Fixes 33c60a38bb9 ("trace: Use notrace for short")
Reported-by Stefan Herbrechtsmeier <[email protected]>
---
common/spl/spl_fit.c | 1 - 1 file changed, 1 deletion(-)
common/spl/spl_fit.c +0 -1
@@ -591,7 +591,6 @@ static int spl_fit_upload_fpga(struct spl_fit_info *ctx, int node,debug ("Ignoring compatible = %s property\n" , compatible); } -return 0 ; ret =fpga_load (devnum, (void *)fpga_image->load_addr, fpga_image->size,BIT_FULL , flags);
Signature · 1 line
2.39.0.246.g2a6d74b583-goog
Quoted 6 lines · Simon Glass
This was added by mistake and renders the function useless. Fix it.
Signed-off-by Simon Glass <[email protected]>Fixes 33c60a38bb9 ("trace: Use notrace for short")Reported-by Stefan Herbrechtsmeier <[email protected]>
Reviewed-by Oleksandr Suvorov <[email protected]>
Quoted 20 lines
---
common/spl/spl_fit.c | 1 - 1 file changed, 1 deletion(-)common/spl/spl_fit.c +0
-2@@ -591,7 +591,6 @@ static int spl_fit_upload_fpga(struct spl_fit_info *ctx, int node,debug ("Ignoring compatible = %s property\n" , compatible); } -return 0 ; ret =fpga_load (devnum, (void *)fpga_image->load_addr, fpga_image->size,BIT_FULL , flags); --2.39.0.246.g2a6d74b583-goog
Signature · 5 lines
Best regards Oleksandr Oleksandr Suvorov [email protected]
Quoted 6 lines · Simon Glass
This was added by mistake and renders the function useless. Fix it.
Signed-off-by Simon Glass <[email protected]>Fixes 33c60a38bb9 ("trace: Use notrace for short")Reported-by Stefan Herbrechtsmeier <[email protected]>Reviewed-by Oleksandr Suvorov <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom