diff options
| author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2022-12-24 14:31:14 +0000 |
|---|---|---|
| committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2022-12-24 14:36:31 +0000 |
| commit | 3da494d3246e30a19d2107c8bb8a293ffd5a9da6 (patch) | |
| tree | bd5fc52101b44e20bd2f88241a0bd86443346914 /sys/dev/netmap/netmap_generic.c | |
| parent | e00774a917503e7e23c469954471c2b519e852c1 (diff) | |
netmap: drop compatibility FreeBSD code
Netmap users on FreeBSD are not supposed to import code from the
github netmap repository anymore. They should use the code that
is available in the src repo. We can therefore drop the compatibility
code.
MFC after: 7 days
Diffstat (limited to 'sys/dev/netmap/netmap_generic.c')
| -rw-r--r-- | sys/dev/netmap/netmap_generic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/netmap/netmap_generic.c b/sys/dev/netmap/netmap_generic.c index 2068e9fd4359..a57da84e1d24 100644 --- a/sys/dev/netmap/netmap_generic.c +++ b/sys/dev/netmap/netmap_generic.c @@ -482,11 +482,7 @@ generic_mbuf_destructor(struct mbuf *m) * txsync. */ netmap_generic_irq(na, r, NULL); #ifdef __FreeBSD__ -#if __FreeBSD_version <= 1200050 - void_mbuf_dtor(m, NULL, NULL); -#else /* __FreeBSD_version >= 1200051 */ void_mbuf_dtor(m); -#endif /* __FreeBSD_version >= 1200051 */ #endif } |
