nv: Do not save nv variables while loading
When reading nv variables from the storage in /env/nv we do
not need to write back the value to the file we just read from.
Optimize this a bit and make it unnecessary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2ccd600 commit b9ac9a9785071f5d243cf287c527286624c08f1b
@Sascha Hauer Sascha Hauer authored on 15 Jul 2016
Showing 1 changed file
View
common/globalvar.c