From: Kever Yang Date: Mon, 30 Mar 2020 03:56:21 +0000 (+0800) Subject: tools: imx8mimage: remove redundant code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e5ad99cc9924e374d9cedbec38b6303cb80d693f;p=u-boot.git tools: imx8mimage: remove redundant code The align for fit_size has been done twice, remove the first one for it does not make any sense. Signed-off-by: Kever Yang Reviewed-by: Punit Agrawal Reviewed-by: Tom Rini --- diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index 7defb13962..bc4ee793cb 100644 --- a/tools/imx8mimage.c +++ b/tools/imx8mimage.c @@ -341,7 +341,6 @@ static int generate_ivt_for_fit(int fd, int fit_offset, uint32_t ep, } fit_size = fdt_totalsize(&image_header); - fit_size = (fit_size + 3) & ~3; fit_size = ALIGN(fit_size, ALIGN_SIZE);