Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Remove unnecessary include of <sys/malloc.h>.



details:   https://anonhg.NetBSD.org/src/rev/1a6443885d2e
branches:  trunk
changeset: 370727:1a6443885d2e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 25 17:21:18 2022 +0000

description:
Remove unnecessary include of <sys/malloc.h>.

diffstat:

 sys/dev/mca/ed_mca.c      |  5 ++---
 sys/dev/mca/edc_mca.c     |  5 ++---
 sys/dev/ofisa/wdc_ofisa.c |  5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diffs (76 lines):

diff -r 3d51764cbde6 -r 1a6443885d2e sys/dev/mca/ed_mca.c
--- a/sys/dev/mca/ed_mca.c      Sun Sep 25 17:20:03 2022 +0000
+++ b/sys/dev/mca/ed_mca.c      Sun Sep 25 17:21:18 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ed_mca.c,v 1.67 2018/09/03 16:29:32 riastradh Exp $    */
+/*     $NetBSD: ed_mca.c,v 1.68 2022/09/25 17:21:18 thorpej Exp $      */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.67 2018/09/03 16:29:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.68 2022/09/25 17:21:18 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,7 +46,6 @@
 #include <sys/buf.h>
 #include <sys/bufq.h>
 #include <sys/uio.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 #include <sys/disklabel.h>
 #include <sys/disk.h>
diff -r 3d51764cbde6 -r 1a6443885d2e sys/dev/mca/edc_mca.c
--- a/sys/dev/mca/edc_mca.c     Sun Sep 25 17:20:03 2022 +0000
+++ b/sys/dev/mca/edc_mca.c     Sun Sep 25 17:21:18 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: edc_mca.c,v 1.54 2021/08/07 16:19:13 thorpej Exp $     */
+/*     $NetBSD: edc_mca.c,v 1.55 2022/09/25 17:21:18 thorpej Exp $     */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.54 2021/08/07 16:19:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.55 2022/09/25 17:21:18 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -54,7 +54,6 @@
 #include <sys/bufq.h>
 #include <sys/errno.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/endian.h>
 #include <sys/disklabel.h>
 #include <sys/disk.h>
diff -r 3d51764cbde6 -r 1a6443885d2e sys/dev/ofisa/wdc_ofisa.c
--- a/sys/dev/ofisa/wdc_ofisa.c Sun Sep 25 17:20:03 2022 +0000
+++ b/sys/dev/ofisa/wdc_ofisa.c Sun Sep 25 17:21:18 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_ofisa.c,v 1.40 2021/01/27 03:10:21 thorpej Exp $   */
+/*     $NetBSD: wdc_ofisa.c,v 1.41 2022/09/25 17:29:22 thorpej Exp $   */
 
 /*
  * Copyright 1997, 1998
@@ -38,13 +38,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_ofisa.c,v 1.40 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_ofisa.c,v 1.41 2022/09/25 17:29:22 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
 #include <sys/systm.h>
 #include <sys/tty.h>
-#include <sys/malloc.h>
 
 #include <sys/intr.h>
 #include <sys/bus.h>



Home | Main Index | Thread Index | Old Index