summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/boot.c')
-rw-r--r--sys/boot/common/boot.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c
index dfd400c..7c02e56 100644
--- a/sys/boot/common/boot.c
+++ b/sys/boot/common/boot.c
@@ -110,11 +110,6 @@ command_boot(int argc, char *argv[])
if (archsw.arch_autoload() != 0)
return(CMD_ERROR);
- /* Call cleanup routines */
- for (i = 0; devsw[i] != NULL; ++i)
- if (devsw[i]->dv_cleanup != NULL)
- (devsw[i]->dv_cleanup)();
-
/* Call the exec handler from the loader matching the kernel */
file_formats[fp->f_loader]->l_exec(fp);
return(CMD_ERROR);
OpenPOWER on IntegriCloud