summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly/mlyvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mly/mlyvar.h')
-rw-r--r--sys/dev/mly/mlyvar.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/mly/mlyvar.h b/sys/dev/mly/mlyvar.h
index e1c7a50..62e674c 100644
--- a/sys/dev/mly/mlyvar.h
+++ b/sys/dev/mly/mlyvar.h
@@ -57,15 +57,7 @@
********************************************************************************
********************************************************************************/
-#if __FreeBSD_version >= 500005
# include <sys/taskqueue.h>
-#endif
-
-#if __FreeBSD_version <= 500014
-# include <machine/clock.h>
-# undef offsetof
-# define offsetof(type, field) ((size_t)(&((type *)0)->field))
-#endif
#ifndef INTR_ENTROPY
# define INTR_ENTROPY 0
@@ -234,10 +226,8 @@ struct mly_softc {
struct cam_path *mly_cam_path; /* rescan path */
int mly_cam_channels; /* total channel count */
-#if __FreeBSD_version >= 500005
/* command-completion task */
- struct task mly_task_complete; /* deferred-completion task */
-#endif
+ struct task mly_task_complete; /* deferred-completion task */
int mly_qfrzn_cnt; /* Track simq freezes */
};
OpenPOWER on IntegriCloud