diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-16 08:09:06 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-16 08:09:06 +0000 |
commit | 42f8e81ca816594e02465a9628096323e39166e4 (patch) | |
tree | 6791b22d2e098f1b4bb903b1a5efc7986e12632d /sys/dev/pci/ips.c | |
parent | 4584caac6fccef9e02928a76fbbfb0d3b941b3f1 (diff) |
Remove redundant DPRINTF from ips_morpheus_isintr.
Diffstat (limited to 'sys/dev/pci/ips.c')
-rw-r--r-- | sys/dev/pci/ips.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c index 27b7f54e84b..a67f9c43b39 100644 --- a/sys/dev/pci/ips.c +++ b/sys/dev/pci/ips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ips.c,v 1.66 2009/03/16 07:21:57 grange Exp $ */ +/* $OpenBSD: ips.c,v 1.67 2009/03/16 08:09:05 grange Exp $ */ /* * Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org> @@ -1842,12 +1842,8 @@ ips_morpheus_intrds(struct ips_softc *sc) int ips_morpheus_isintr(struct ips_softc *sc) { - u_int32_t reg; - - reg = bus_space_read_4(sc->sc_iot, sc->sc_ioh, IPS_REG_OIS); - DPRINTF(IPS_D_XFER, ("%s: isintr 0x%08x\n", sc->sc_dev.dv_xname, reg)); - - return (reg & IPS_REG_OIS_PEND); + return (bus_space_read_4(sc->sc_iot, sc->sc_ioh, IPS_REG_OIS) & + IPS_REG_OIS_PEND); } int |