diff options
author | yongari <yongari@FreeBSD.org> | 2011-11-10 23:14:04 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-11-10 23:14:04 +0000 |
commit | 9fe2aee2b7b060dc766f3d7fc681ada053ca3e7d (patch) | |
tree | 383f4aa668eb24acacdd3ac2c127d0c8e846ed57 /sys | |
parent | 6e560e58c850fe1724b2effc4ea3aa8bd5cfcb2c (diff) | |
download | FreeBSD-src-9fe2aee2b7b060dc766f3d7fc681ada053ca3e7d.zip FreeBSD-src-9fe2aee2b7b060dc766f3d7fc681ada053ca3e7d.tar.gz |
Remove dead ifdef. Driver should always check raised interrupt is
for the device.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ti/if_ti.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 1ecc7be..f7df3cc 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -2825,14 +2825,11 @@ ti_intr(void *xsc) TI_LOCK(sc); ifp = sc->ti_ifp; -/*#ifdef notdef*/ - /* Avoid this for now -- checking this register is expensive. */ /* Make sure this is really our interrupt. */ if (!(CSR_READ_4(sc, TI_MISC_HOST_CTL) & TI_MHC_INTSTATE)) { TI_UNLOCK(sc); return; } -/*#endif*/ /* Ack interrupt and stop others from occuring. */ CSR_WRITE_4(sc, TI_MB_HOSTINTR, 1); |