amdfwtool: Remove meaningless double parentheses

Change-Id: I4a9192c55d63531621dd7bc49f1ead7f58dff893
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73648
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Zheng Bao 2023-03-11 09:27:53 +08:00 committed by Martin L Roth
parent 17551ae865
commit a7731cc0c9
1 changed files with 2 additions and 2 deletions

View File

@ -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;