mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove dead ifdef. Driver should always check raised interrupt is
for the device.
This commit is contained in:
parent
8a9710aa8c
commit
ecf3f60fed
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue