From a66a8d79871c3763cd488cd5e785415a5dbc36de Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 20 Feb 2018 12:21:00 +0100 Subject: 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 --- common/efi/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/efi') 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); -- cgit v1.2.3