summaryrefslogtreecommitdiffstats
path: root/common/state
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2018-10-10 14:23:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-12 09:09:44 +0200
commit0d0a472821b28aa999fb8e71ff949a87cb4f27b0 (patch)
tree3726bea580f1df6deeb2150a34ef33c5288bfd9b /common/state
parentf6a47cc3de70b6bc8a79b0b6dc120b2442c472c2 (diff)
downloadbarebox-0d0a472821b28aa999fb8e71ff949a87cb4f27b0.tar.gz
state: backend_bucket_circular: remove unused variables
This has been forgotten in commit 9d6d91931afb ("state: Remove -EUCLEAN check from userspace tool"). Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state')
-rw-r--r--common/state/backend_bucket_circular.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 277b94d..4b71d87 100644
--- a/common/state/backend_bucket_circular.c
+++ b/common/state/backend_bucket_circular.c
@@ -155,8 +155,6 @@ static int state_mtd_peb_read(struct state_backend_storage_bucket_circular *circ
{
int ret;
off_t offset = suboffset;
- struct mtd_ecc_stats stat1, stat2;
- bool nostats = false;
offset += (off_t)circ->eraseblock * circ->mtd->erasesize;