]> Git Repo - u-boot.git/commitdiff
spl: Drop unwanted return in spl_fit_upload_fpga()
authorSimon Glass <[email protected]>
Tue, 24 Jan 2023 10:55:10 +0000 (03:55 -0700)
committerTom Rini <[email protected]>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
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]>
common/spl/spl_fit.c

index 9ae3e5e35d415bbde127e694ec443fdb2b1c2e3a..c51482b3b6594270bf8732683b9a320c5680cb72 100644 (file)
@@ -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);
This page took 0.036473 seconds and 4 git commands to generate.