From a7731cc0c9b5170149f4ebd5f0e9a90335e8e3f7 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Sat, 11 Mar 2023 09:27:53 +0800 Subject: amdfwtool: Remove meaningless double parentheses Change-Id: I4a9192c55d63531621dd7bc49f1ead7f58dff893 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/73648 Reviewed-by: Fred Reitberger Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- util/amdfwtool/amdfwtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/amdfwtool/amdfwtool.c') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 738123b68f..5546a69291 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -2502,13 +2502,13 @@ int main(int argc, char **argv) retval = 1; } - if ((ctx.rom_size % 1024 != 0)) { + if (ctx.rom_size % 1024 != 0) { fprintf(stderr, "Error: ROM Size (%d bytes) should be a multiple of" " 1024 bytes.\n\n", ctx.rom_size); retval = 1; } - if ((ctx.rom_size < MIN_ROM_KB * 1024)) { + if (ctx.rom_size < MIN_ROM_KB * 1024) { fprintf(stderr, "Error: ROM Size (%dKB) must be at least %dKB.\n\n", ctx.rom_size / 1024, MIN_ROM_KB); retval = 1; -- cgit v1.2.3