summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/cortex
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2021-03-25 04:12:00 +0000
committerjsg <jsg@openbsd.org>2021-03-25 04:12:00 +0000
commita4a50d9633ad5d32f291ac2e2a431b18d1120b73 (patch)
treeda891f488108adbe6b6b73f540e1aa7d821bba1b /sys/arch/arm/cortex
parentSync correct ROUNDUP() from net/route.c (diff)
downloadwireguard-openbsd-a4a50d9633ad5d32f291ac2e2a431b18d1120b73.tar.xz
wireguard-openbsd-a4a50d9633ad5d32f291ac2e2a431b18d1120b73.zip
remove uneeded includes in md armv7 files
based on include-what-you-use suggestions
Diffstat (limited to 'sys/arch/arm/cortex')
-rw-r--r--sys/arch/arm/cortex/agtimer.c6
-rw-r--r--sys/arch/arm/cortex/ampintc.c3
-rw-r--r--sys/arch/arm/cortex/amptimer.c5
-rw-r--r--sys/arch/arm/cortex/arml2cc.c7
4 files changed, 4 insertions, 17 deletions
diff --git a/sys/arch/arm/cortex/agtimer.c b/sys/arch/arm/cortex/agtimer.c
index 8d742f8d03c..10a5c6b9d21 100644
--- a/sys/arch/arm/cortex/agtimer.c
+++ b/sys/arch/arm/cortex/agtimer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agtimer.c,v 1.12 2021/02/23 04:44:30 cheloha Exp $ */
+/* $OpenBSD: agtimer.c,v 1.13 2021/03/25 04:12:00 jsg Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
@@ -18,19 +18,15 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/queue.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/timetc.h>
-#include <sys/evcount.h>
#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
#include <arm/cpufunc.h>
-#include <arm/cortex/cortex.h>
#include <dev/ofw/fdt.h>
#include <dev/ofw/openfirm.h>
diff --git a/sys/arch/arm/cortex/ampintc.c b/sys/arch/arm/cortex/ampintc.c
index bafc6771455..d1b4a9795ab 100644
--- a/sys/arch/arm/cortex/ampintc.c
+++ b/sys/arch/arm/cortex/ampintc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ampintc.c,v 1.28 2020/07/14 15:34:14 patrick Exp $ */
+/* $OpenBSD: ampintc.c,v 1.29 2021/03/25 04:12:00 jsg Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
*
@@ -33,7 +33,6 @@
#include <machine/fdt.h>
#include <arm/cpufunc.h>
-#include <arm/cortex/cortex.h>
#include <dev/ofw/fdt.h>
#include <dev/ofw/openfirm.h>
diff --git a/sys/arch/arm/cortex/amptimer.c b/sys/arch/arm/cortex/amptimer.c
index 1a83f0b30ad..7eaecb0c560 100644
--- a/sys/arch/arm/cortex/amptimer.c
+++ b/sys/arch/arm/cortex/amptimer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amptimer.c,v 1.11 2021/02/23 04:44:30 cheloha Exp $ */
+/* $OpenBSD: amptimer.c,v 1.12 2021/03/25 04:12:00 jsg Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
*
@@ -17,12 +17,9 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/queue.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/timetc.h>
-#include <sys/evcount.h>
#include <arm/cpufunc.h>
#include <machine/bus.h>
diff --git a/sys/arch/arm/cortex/arml2cc.c b/sys/arch/arm/cortex/arml2cc.c
index 8c75cbba511..95efc216cd7 100644
--- a/sys/arch/arm/cortex/arml2cc.c
+++ b/sys/arch/arm/cortex/arml2cc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arml2cc.c,v 1.5 2016/08/22 01:42:00 jsg Exp $ */
+/* $OpenBSD: arml2cc.c,v 1.6 2021/03/25 04:12:01 jsg Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
@@ -17,12 +17,7 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/queue.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/evcount.h>
-#include <sys/socket.h>
-#include <sys/timeout.h>
#include <machine/intr.h>
#include <machine/bus.h>
#include <arm/cpufunc.h>