summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 16:56:38 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 16:56:38 +0000
commit4889b510f02afdb3319fab2fee369ecc90c95ca2 (patch)
treed4fab0b789a7bbb3d4efe2d371e0a6d3bb33e93a /sys/pci
parent3e9a4fabc345d4d09660888dc13b2a5515b3b35b (diff)
downloadFreeBSD-src-4889b510f02afdb3319fab2fee369ecc90c95ca2.zip
FreeBSD-src-4889b510f02afdb3319fab2fee369ecc90c95ca2.tar.gz
Optimize out a couple of places where com_addr() is used twice in a row,
although this is pretty trivial. devclass_get_softc() is a tad more expensive than the old com_addr() implementation. If Bruce is really worried about the cost of this, it could always be changed so that the softc pointer is stored in a local array again.
Diffstat (limited to 'sys/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud