summaryrefslogtreecommitdiffstats
path: root/include/param.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-04-07 08:49:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-04-07 08:49:21 +0200
commite4f81050e098074792730b61563538d9e394e3d6 (patch)
tree79be1d2cf82361c5453cfcdf4fdbdafa8633e3e9 /include/param.h
parent35d8e858bea17ec4796069c9c27fd0b134125eaf (diff)
downloadbarebox-e4f81050e098074792730b61563538d9e394e3d6.tar.gz
barebox-e4f81050e098074792730b61563538d9e394e3d6.tar.xz
globalvar: remove code for unqualified globalvars
The globalvar_add_simple_* functions will fail when a globalvar of the name already exists. This happened when the globalvar was created previously because a corresponding nvvar existed. For this reason we removed the globalvars that have been previously created by nvvar creation (we called these unqualified globalvars). Since we no longer create the corresponding globalvars on nvvar creation this code is no longer needed. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r--include/param.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/param.h b/include/param.h
index f5f82ee70c..f9f3398cae 100644
--- a/include/param.h
+++ b/include/param.h
@@ -6,7 +6,6 @@
#include <linux/list.h>
#define PARAM_FLAG_RO (1 << 0)
-#define PARAM_GLOBALVAR_UNQUALIFIED (1 << 1)
struct device_d;
typedef uint32_t IPaddr_t;