diff options
author | jhb <jhb@FreeBSD.org> | 2011-01-18 14:58:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-01-18 14:58:44 +0000 |
commit | 643ff138c3b8cff603b2344b52f81333309b3064 (patch) | |
tree | 212d22c137d41033c8baf10ca6d76f525b5c4a33 /sys/dev/buslogic | |
parent | ad37bf58b7777195db006470d123d3432a43e04d (diff) | |
download | FreeBSD-src-643ff138c3b8cff603b2344b52f81333309b3064.zip FreeBSD-src-643ff138c3b8cff603b2344b52f81333309b3064.tar.gz |
Remove bogus check. pcib_get_bus() (like other BUS_ACCESSOR() methods)
doesn't "fail", it may merely return garbage if it is not a valid ivar
for a given device. Our parent device must be a 'pcib' device, so we
can just assume it implements pcib IVARs, and all pcib devices have a
bus number.
Submitted by: clang via rdivacky
Diffstat (limited to 'sys/dev/buslogic')
0 files changed, 0 insertions, 0 deletions