diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-10-24 19:58:04 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-10-24 19:58:04 +0000 |
commit | 86acf7b6c566cbef13fb134cc35332f9cd0d9d2a (patch) | |
tree | ebd60313c503642976df24b5914ab00bb95e99bc | |
parent | a802b5afa7905711d830920521385789256999b2 (diff) |
KNF
-rw-r--r-- | sys/dev/acpi/acpitz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index 4903e734c97..6cbdf53c004 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.4 2006/10/19 01:19:15 jordan Exp $ */ +/* $OpenBSD: acpitz.c,v 1.5 2006/10/24 19:58:03 marco Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> @@ -168,7 +168,7 @@ acpitz_gettmp(struct acpitz_softc *sc) rw_enter_write(&sc->sc_lock); - if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_TMP", 0, NULL, &res) != 0) { + if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_TMP", 0, NULL, &res)) { dnprintf(10, "%s: no _TMP\n", DEVNAME(sc)); goto out; } @@ -189,7 +189,7 @@ acpitz_getcrt(struct acpitz_softc *sc) rw_enter_write(&sc->sc_lock); - if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_CRT", 0, NULL, &res) != 0) { + if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_CRT", 0, NULL, &res)) { dnprintf(10, "%s: no _CRT\n", DEVNAME(sc)); goto out; } |