diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2009-05-07 18:31:21 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2009-05-07 18:31:21 +0000 |
commit | 07715592352309e571fbf20f75138eaf698463da (patch) | |
tree | 17e6893e16f0620bd7b5a971ddee179b5d09f6e5 | |
parent | ec24ef59ef72301967a128f62d6cd2d00a4f7e97 (diff) |
KNF
-rw-r--r-- | sys/dev/isa/sch311x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/sch311x.c b/sys/dev/isa/sch311x.c index 396303181cd..003746843cb 100644 --- a/sys/dev/isa/sch311x.c +++ b/sys/dev/isa/sch311x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sch311x.c,v 1.10 2009/04/27 21:01:27 mk Exp $ */ +/* $OpenBSD: sch311x.c,v 1.11 2009/05/07 18:31:20 mk Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * Copyright (c) 2009 Michael Knudsen <mk@openbsd.org> @@ -475,8 +475,7 @@ schsio_wdt_init(struct schsio_softc *sc) bus_space_write_1(sc->sc_iot, sc->sc_ioh_rr, SCHSIO_WDT_VAL, 0); /* Clear triggered status */ - reg = bus_space_read_1(sc->sc_iot, sc->sc_ioh_rr, - SCHSIO_WDT_CTRL); + reg = bus_space_read_1(sc->sc_iot, sc->sc_ioh_rr, SCHSIO_WDT_CTRL); if (reg & SCHSIO_WDT_CTRL_TRIGGERED) { printf(", warning: watchdog triggered"); reg &= ~SCHSIO_WDT_CTRL_TRIGGERED; |