summaryrefslogtreecommitdiffstats
path: root/common/efi
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-02-20 12:21:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-22 08:22:11 +0100
commita66a8d79871c3763cd488cd5e785415a5dbc36de (patch)
tree5b6b2120d4dcd9e43d06c8637cc7090186bbefc6 /common/efi
parent359966df3721803a1e0873c98182e7280029b068 (diff)
downloadbarebox-a66a8d79871c3763cd488cd5e785415a5dbc36de.tar.gz
barebox-a66a8d79871c3763cd488cd5e785415a5dbc36de.tar.xz
state: remove unused arguments from state_new_from_node()
state_new_from_node() has arguments describing the backend path. These are never used in barebox, the backend path is always derived from the device nodes backend description. Remove these arguments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/efi')
-rw-r--r--common/efi/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/efi/efi.c b/common/efi/efi.c
index 561ce4c081..1f451a157e 100644
--- a/common/efi/efi.c
+++ b/common/efi/efi.c
@@ -441,7 +441,7 @@ static int efi_late_init(void)
np = of_find_node_by_alias(root, "state");
- state = state_new_from_node(np, NULL, 0, 0, false);
+ state = state_new_from_node(np, false);
if (IS_ERR(state))
return PTR_ERR(state);