From ce27334f23e8d6f104f144a4d4278836a5688351 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 11 Sep 2015 14:32:07 -0600 Subject: [PATCH] Refresh sub-modules --- arch | 2 +- configs | 2 +- drivers/bch/bchlib_read.c | 1 - drivers/bch/bchlib_write.c | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) 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;