summaryrefslogtreecommitdiff
path: root/util/flashrom/sst_fwhub.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/sst_fwhub.c')
-rw-r--r--util/flashrom/sst_fwhub.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c
index 9e4539bf53..c7266e8d6a 100644
--- a/util/flashrom/sst_fwhub.c
+++ b/util/flashrom/sst_fwhub.c
@@ -56,7 +56,7 @@ int erase_sst_fwhub_block(struct flashchip *flash, int offset)
erase_block_jedec(flash->virtual_memory, offset);
toggle_ready_jedec(flash->virtual_memory);
- return (0);
+ return 0;
}
int erase_sst_fwhub(struct flashchip *flash)
@@ -66,7 +66,8 @@ int erase_sst_fwhub(struct flashchip *flash)
for (i = 0; i < total_size; i += flash->page_size)
erase_sst_fwhub_block(flash, i);
- return (0);
+
+ return 0;
}
int write_sst_fwhub(struct flashchip *flash, uint8_t *buf)
@@ -95,5 +96,6 @@ int write_sst_fwhub(struct flashchip *flash, uint8_t *buf)
printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b");
}
printf("\n");
- return (0);
+
+ return 0;
}