summaryrefslogtreecommitdiffstats
path: root/commands/go.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/go.c')
-rw-r--r--commands/go.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/commands/go.c b/commands/go.c
index f25db48ca2..fb319b320c 100644
--- a/commands/go.c
+++ b/commands/go.c
@@ -60,10 +60,7 @@ static int do_go(int argc, char *argv[])
shutdown_barebox();
- if (do_execute)
- do_execute(func, argc - 1, &argv[1]);
- else
- func(argc - 1, &argv[1]);
+ func(argc - 1, &argv[1]);
/*
* The application returned. Since we have shutdown barebox and