diff options
author | 2009-03-16 08:09:05 +0000 | |
---|---|---|
committer | 2009-03-16 08:09:05 +0000 | |
commit | c62a3a43c9ab4a7a3b633f87bbcec74c746673c1 (patch) | |
tree | d71c005cdb4c6f156ed57e063c6966bcf9f46ef8 | |
parent | IPS_SCSI_PT flag not used any more. (diff) | |
download | wireguard-openbsd-c62a3a43c9ab4a7a3b633f87bbcec74c746673c1.tar.xz wireguard-openbsd-c62a3a43c9ab4a7a3b633f87bbcec74c746673c1.zip |
Remove redundant DPRINTF from ips_morpheus_isintr.
-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 |