diff options
Diffstat (limited to 'libflash/blocklevel.c')
-rw-r--r-- | libflash/blocklevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c index 172f8fcc..bbcc8e61 100644 --- a/libflash/blocklevel.c +++ b/libflash/blocklevel.c @@ -205,7 +205,7 @@ int blocklevel_write(struct blocklevel_device *bl, uint64_t pos, const void *buf { int rc, ecc_protection; struct ecc64 *buffer; - uint64_t ecc_len = ecc_buffer_size(len); + uint64_t ecc_len; uint64_t ecc_start, ecc_pos, ecc_diff; FL_DBG("%s: 0x%" PRIx64 "\t%p\t0x%" PRIx64 "\n", __func__, pos, buf, len); |