aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-03-01 11:07:32 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-03-01 11:07:32 +0000
commit33755776313e4ebb83da6a742616017d9c946838 (patch)
tree4d0b480e898094bc6512f77d2ba08c44db870477
parenta3571129380de7d3807b26b843d0408fde7aafde (diff)
downloadsrc-33755776313e4ebb83da6a742616017d9c946838.tar.gz
src-33755776313e4ebb83da6a742616017d9c946838.zip
net: whack __mips__ leftovers
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sys/net/bpf.c2
-rw-r--r--sys/net/mp_ring.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 43eed04375d7..3e4521bb28de 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1646,7 +1646,7 @@ bpfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags,
#endif
{
struct timeval *tv = (struct timeval *)addr;
-#if defined(COMPAT_FREEBSD32) && !defined(__mips__)
+#if defined(COMPAT_FREEBSD32)
struct timeval32 *tv32;
struct timeval tv64;
diff --git a/sys/net/mp_ring.h b/sys/net/mp_ring.h
index 6dea325dc435..7a166b89233d 100644
--- a/sys/net/mp_ring.h
+++ b/sys/net/mp_ring.h
@@ -40,7 +40,7 @@ typedef u_int (*mp_ring_drain_t)(struct ifmp_ring *, u_int, u_int);
typedef u_int (*mp_ring_can_drain_t)(struct ifmp_ring *);
typedef void (*mp_ring_serial_t)(struct ifmp_ring *);
-#if defined(__powerpc__) || defined(__mips__) || defined(__i386__)
+#if defined(__powerpc__) || defined(__i386__)
#define MP_RING_NO_64BIT_ATOMICS
#endif