summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2007-04-17 17:32:39 +0000
committerphk <phk@FreeBSD.org>2007-04-17 17:32:39 +0000
commitf0a8f88e532b914ad68f0db198a54742e4e28c27 (patch)
tree415a553c78fda77edc0f866d34b8dcbde9bc7148 /sys/pci/if_vr.c
parent708ec25681ba4539b2161e56169de23fbc01d262 (diff)
downloadFreeBSD-src-f0a8f88e532b914ad68f0db198a54742e4e28c27.zip
FreeBSD-src-f0a8f88e532b914ad68f0db198a54742e4e28c27.tar.gz
No need to throw tag+handle around on the stack.
Diffstat (limited to 'sys/pci/if_vr.c')
-rw-r--r--sys/pci/if_vr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index d657634..d45c850 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -689,9 +689,6 @@ vr_attach(dev)
goto fail;
}
- sc->vr_btag = rman_get_bustag(sc->vr_res);
- sc->vr_bhandle = rman_get_bushandle(sc->vr_res);
-
/* Allocate interrupt */
rid = 0;
sc->vr_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
OpenPOWER on IntegriCloud