diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-11-23 21:47:13 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-12-01 12:33:33 +0100 |
commit | fa4c41ba60af6e8260307fadcd5fb68f8bdb7360 (patch) | |
tree | fbbd12d250019f61004906f194ec56e1f3e687ab /arch | |
parent | 3edbc17f1ab1a13b6ddd7fcb4dee596ab41ae0b1 (diff) | |
download | barebox-fa4c41ba60af6e8260307fadcd5fb68f8bdb7360.tar.gz barebox-fa4c41ba60af6e8260307fadcd5fb68f8bdb7360.tar.xz |
nvvar: when setting a nvvar to NULL just free the content
When a nvvar is about to be removed then it is set to NULL
by barebox. This means for the variable to free it's memory.
In this case also do not pass the value to the corresponding
globalvar, since that would set the globalvar to NULL aswell,
but we want to keep its current value.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions