diff options
| -rw-r--r-- | sys/src/9/port/devcons.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/9/port/devcons.c b/sys/src/9/port/devcons.c index 814a6e238..f254d85e7 100644 --- a/sys/src/9/port/devcons.c +++ b/sys/src/9/port/devcons.c @@ -28,7 +28,6 @@ static int writebintime(char*, int); enum { - CMhalt, CMreboot, CMpanic, CMrdb, @@ -36,7 +35,6 @@ enum Cmdtab rebootmsg[] = { - CMhalt, "halt", 1, CMreboot, "reboot", 0, CMpanic, "panic", 0, CMrdb, "rdb", 0, @@ -749,9 +747,6 @@ conswrite(Chan *c, void *va, long n, vlong off) } ct = lookupcmd(cb, rebootmsg, nelem(rebootmsg)); switch(ct->index) { - case CMhalt: - reboot(nil, 0, 0); - break; case CMreboot: rebootcmd(cb->nf-1, cb->f+1); break; |
