mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] state: backend_bucket_circular: remove unused variables
@ 2018-10-10 12:23 Ulrich Ölmann
  2018-10-12  7:10 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Ölmann @ 2018-10-10 12:23 UTC (permalink / raw)
  To: Barebox List

This has been forgotten in commit 9d6d91931afb ("state: Remove -EUCLEAN check
from userspace tool").

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 common/state/backend_bucket_circular.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 277b94d79737..4b71d8751da6 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;
 
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] state: backend_bucket_circular: remove unused variables
  2018-10-10 12:23 [PATCH] state: backend_bucket_circular: remove unused variables Ulrich Ölmann
@ 2018-10-12  7:10 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-10-12  7:10 UTC (permalink / raw)
  To: Ulrich Ölmann; +Cc: Barebox List

On Wed, Oct 10, 2018 at 02:23:40PM +0200, Ulrich Ölmann wrote:
> This has been forgotten in commit 9d6d91931afb ("state: Remove -EUCLEAN check
> from userspace tool").
> 
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  common/state/backend_bucket_circular.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
> index 277b94d79737..4b71d8751da6 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;
>  
> -- 
> 2.19.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-12  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 12:23 [PATCH] state: backend_bucket_circular: remove unused variables Ulrich Ölmann
2018-10-12  7:10 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox