summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2015-10-25 22:03:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-27 08:26:40 +0100
commit446f3d07dd59f1b15b83a31fa88fba919ce4f47d (patch)
treef085fa1ee8e49c55a81f43454d1cd4f2a4d76d1f /drivers/misc
parent7098d7121e98a8a9bcda726c1a35ac2d0f29de65 (diff)
downloadbarebox-446f3d07dd59f1b15b83a31fa88fba919ce4f47d.tar.gz
state: disable load command
Explicitly loading environment is not required as it will be loaded if available during device probing Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/state.c b/drivers/misc/state.c
index d46d5b9..73356b4 100644
--- a/drivers/misc/state.c
+++ b/drivers/misc/state.c
@@ -86,7 +86,6 @@ static int state_probe(struct device_d *dev)
dev_info(dev, "backend: %s, path: %s, of_path: %s\n", backend_type, path, of_path);
free(path);
- state_load(state);
return 0;
out_free: