Skip to content
Snippets Groups Projects
Commit a52f60fa authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

reboot: Remove the unreachable panic after do_exit in reboot(2)

parent 9fd5a04d
No related branches found
No related tags found
No related merge requests found
......@@ -359,7 +359,6 @@ SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd,
case LINUX_REBOOT_CMD_HALT:
kernel_halt();
do_exit(0);
panic("cannot halt");
case LINUX_REBOOT_CMD_POWER_OFF:
kernel_power_off();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment