state: storage: initialize variable once outside loop
writesize is initialized with the same value in each loop iteration,
Instead, initialize it once outside the loop.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cd8b595 commit fa4ef25aa012bf0b11a0d7b89798ee5275931302
@Sascha Hauer Sascha Hauer authored on 22 Mar 2017
Showing 1 changed file
View
src/barebox-state/backend_storage.c