diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-12-18 20:57:46 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-12-18 20:57:46 +0000 |
commit | 5b01109e67216975b03013730ef80c227432c6db (patch) | |
tree | c8f3721e89ac357a9ea941c61379de1019d3c7f9 /sys/dev | |
parent | 7852f6d632b42b88a5efea117e232537d62195be (diff) |
Remove misleading NOTREACHED comments. Sending a signal does not
stop execution. Noticed by deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/acpibtn.c | 3 | ||||
-rw-r--r-- | sys/dev/acpi/acpitz.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpibtn.c b/sys/dev/acpi/acpibtn.c index 7afd7de6963..1b0f3b5f108 100644 --- a/sys/dev/acpi/acpibtn.c +++ b/sys/dev/acpi/acpibtn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibtn.c,v 1.12 2006/11/29 19:21:20 miod Exp $ */ +/* $OpenBSD: acpibtn.c,v 1.13 2006/12/18 20:57:45 canacar Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -130,7 +130,6 @@ acpibtn_notify(struct aml_node *node, int notify_type, void *arg) if (notify_type == 0x80) { acpi_s5 = 1; psignal(initproc, SIGUSR1); - /* NOTREACHED */ } break; default: diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 322ce2e4f51..aa9b509500e 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.9 2006/11/29 22:17:07 marco Exp $ */ +/* $OpenBSD: acpitz.c,v 1.10 2006/12/18 20:57:45 canacar Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -263,7 +263,6 @@ acpitz_refresh(void *arg) DEVNAME(sc)); acpi_s5 = 1; psignal(initproc, SIGUSR1); - /* NOTREACHED */ } if (sc->sc_hot != -1 && sc->sc_hot <= sc->sc_tmp) { printf("%s: _HOT temperature\n", DEVNAME(sc)); |