From: Simon Glass Date: Tue, 24 Jan 2023 10:55:10 +0000 (-0700) Subject: spl: Drop unwanted return in spl_fit_upload_fpga() X-Git-Tag: v2025.01-rc5-pxa1908~1118^2~35 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=69a3e0779aab4ca4a2f6280fcbfd85bab5ae4256;p=u-boot.git 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 Fixes: 33c60a38bb9 ("trace: Use notrace for short") Reported-by: Stefan Herbrechtsmeier Reviewed-by: Oleksandr Suvorov --- diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 9ae3e5e35d..c51482b3b6 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -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);