diff options
author | peter <peter@FreeBSD.org> | 1999-05-09 16:56:38 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-09 16:56:38 +0000 |
commit | 4889b510f02afdb3319fab2fee369ecc90c95ca2 (patch) | |
tree | d4fab0b789a7bbb3d4efe2d371e0a6d3bb33e93a /sys/pci/alpm.c | |
parent | 3e9a4fabc345d4d09660888dc13b2a5515b3b35b (diff) | |
download | FreeBSD-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/alpm.c')
0 files changed, 0 insertions, 0 deletions