diff options
author | scottl <scottl@FreeBSD.org> | 2005-08-08 12:23:27 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-08-08 12:23:27 +0000 |
commit | 98f63133a9867a23f4caf0e10d4e921008fbefc4 (patch) | |
tree | ae1b65ea52b64604565a4b2441366f297519df9a /sys/dev/mly/mly.c | |
parent | 483ce6fe55b1f8cabd6678dfb7f26dd9316784bb (diff) | |
download | FreeBSD-src-98f63133a9867a23f4caf0e10d4e921008fbefc4.zip FreeBSD-src-98f63133a9867a23f4caf0e10d4e921008fbefc4.tar.gz |
Retire the last of the FreeBSD 4.x compat code from the mly driver.
Diffstat (limited to 'sys/dev/mly/mly.c')
-rw-r--r-- | sys/dev/mly/mly.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 074d6fa..f00c147 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -234,12 +234,10 @@ mly_attach(device_t dev) mly_initq_busy(sc); mly_initq_complete(sc); -#if __FreeBSD_version >= 500005 /* * Initialise command-completion task. */ TASK_INIT(&sc->mly_task_complete, 0, mly_complete, sc); -#endif /* disable interrupts before we start talking to the controller */ MLY_MASK_INTERRUPTS(sc); @@ -1605,11 +1603,9 @@ mly_done(struct mly_softc *sc) splx(s); if (worked) { -#if __FreeBSD_version >= 500005 if (sc->mly_state & MLY_STATE_INTERRUPTS_ON) taskqueue_enqueue(taskqueue_swi_giant, &sc->mly_task_complete); else -#endif mly_complete(sc, 0); } } |