diff --git a/arch b/arch index 1db4677359..957515ba01 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 1db4677359dae966c12a0f3830da14005d887a58 +Subproject commit 957515ba013f3ced49c7a78104cc9e9aca793e65 diff --git a/configs b/configs index 7e082490eb..bed0650636 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 7e082490eb9da35d7635d66a2282383413357d01 +Subproject commit bed0650636147481bb7513901c6f490f29e874b4 diff --git a/drivers/bch/bchlib_read.c b/drivers/bch/bchlib_read.c index 786f603c8f..93210fcaeb 100644 --- a/drivers/bch/bchlib_read.c +++ b/drivers/bch/bchlib_read.c @@ -167,7 +167,6 @@ ssize_t bchlib_read(FAR void *handle, FAR char *buffer, size_t offset, size_t le /* Adjust pointers and counts */ sector += nsectors; - nbytes = nsectors * bch->sectsize; bytesread += nbytes; diff --git a/drivers/bch/bchlib_write.c b/drivers/bch/bchlib_write.c index d4563e437a..07d77ce8a7 100644 --- a/drivers/bch/bchlib_write.c +++ b/drivers/bch/bchlib_write.c @@ -169,7 +169,6 @@ ssize_t bchlib_write(FAR void *handle, FAR const char *buffer, size_t offset, si /* Adjust pointers and counts */ sector += nsectors; - nbytes = nsectors * bch->sectsize; byteswritten += nbytes;