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/b14a4ccee5c8
branches:  trunk
changeset: 370730:b14a4ccee5c8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 25 17:52:25 2022 +0000

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

diffstat:

 sys/dev/pci/aac_pci.c         |  5 ++---
 sys/dev/pci/adv_pci.c         |  5 ++---
 sys/dev/pci/adw_pci.c         |  5 ++---
 sys/dev/pci/arcmsr.c          |  5 ++---
 sys/dev/pci/gffb.c            |  5 ++---
 sys/dev/pci/if_an_pci.c       |  5 ++---
 sys/dev/pci/if_athn_pci.c     |  5 ++---
 sys/dev/pci/if_atw_pci.c      |  5 ++---
 sys/dev/pci/if_ral_pci.c      |  5 ++---
 sys/dev/pci/if_rtw_pci.c      |  5 ++---
 sys/dev/pci/joy_eso.c         |  5 ++---
 sys/dev/pci/machfb.c          |  5 ++---
 sys/dev/pci/mfi_pci.c         |  5 ++---
 sys/dev/pci/opl_cmpci.c       |  5 ++---
 sys/dev/pci/opl_eso.c         |  5 ++---
 sys/dev/pci/opl_fms.c         |  5 ++---
 sys/dev/pci/opl_sv.c          |  5 ++---
 sys/dev/pci/opl_yds.c         |  5 ++---
 sys/dev/pci/pciconf.c         |  5 ++---
 sys/dev/pci/pm2fb.c           |  5 ++---
 sys/dev/pci/pm3fb.c           |  5 ++---
 sys/dev/pci/r128fb.c          |  5 ++---
 sys/dev/pci/radeonfb_bios.c   |  5 ++---
 sys/dev/pci/radeonfb_i2c.c    |  3 +--
 sys/dev/pci/rtsx_pci.c        |  5 ++---
 sys/dev/pci/satalink.c        |  5 ++---
 sys/dev/pci/siisata_pci.c     |  5 ++---
 sys/dev/pci/siop_pci_common.c |  5 ++---
 sys/dev/pci/vga_pci.c         |  5 ++---
 sys/dev/pci/voodoofb.c        |  5 ++---
 sys/dev/pci/voyager.c         |  5 ++---
 sys/dev/sbus/be.c             |  5 ++---
 sys/dev/sbus/bwtwo_sbus.c     |  5 ++---
 sys/dev/sbus/cgsix_sbus.c     |  5 ++---
 sys/dev/sbus/cgthree_sbus.c   |  5 ++---
 sys/dev/sbus/dma_sbus.c       |  5 ++---
 sys/dev/sbus/if_gem_sbus.c    |  5 ++---
 sys/dev/sbus/if_hme_sbus.c    |  5 ++---
 sys/dev/sbus/if_le.c          |  5 ++---
 sys/dev/sbus/if_le_lebuffer.c |  5 ++---
 sys/dev/sbus/if_le_ledma.c    |  5 ++---
 sys/dev/sbus/lebuffer.c       |  5 ++---
 sys/dev/sbus/p9100.c          |  5 ++---
 sys/dev/sbus/qe.c             |  5 ++---
 sys/dev/sbus/qec.c            |  5 ++---
 sys/dev/sbus/tcx.c            |  5 ++---
 sys/dev/sbus/xbox.c           |  5 ++---
 47 files changed, 93 insertions(+), 140 deletions(-)

diffs (truncated from 1129 to 300 lines):

diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/aac_pci.c
--- a/sys/dev/pci/aac_pci.c     Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/aac_pci.c     Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aac_pci.c,v 1.41 2021/04/24 23:36:57 thorpej Exp $     */
+/*     $NetBSD: aac_pci.c,v 1.42 2022/09/25 17:52:25 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -65,13 +65,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aac_pci.c,v 1.41 2021/04/24 23:36:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aac_pci.c,v 1.42 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/queue.h>
 
 #include <sys/bus.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/adv_pci.c
--- a/sys/dev/pci/adv_pci.c     Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/adv_pci.c     Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adv_pci.c,v 1.30 2018/12/09 11:14:01 jdolecek Exp $    */
+/*     $NetBSD: adv_pci.c,v 1.31 2022/09/25 17:52:25 thorpej Exp $     */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
@@ -56,11 +56,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adv_pci.c,v 1.30 2018/12/09 11:14:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adv_pci.c,v 1.31 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/queue.h>
 #include <sys/device.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/adw_pci.c
--- a/sys/dev/pci/adw_pci.c     Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/adw_pci.c     Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adw_pci.c,v 1.29 2018/12/09 11:14:01 jdolecek Exp $         */
+/* $NetBSD: adw_pci.c,v 1.30 2022/09/25 17:52:25 thorpej Exp $  */
 
 /*
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -41,11 +41,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adw_pci.c,v 1.29 2018/12/09 11:14:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adw_pci.c,v 1.30 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/queue.h>
 #include <sys/device.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/arcmsr.c
--- a/sys/dev/pci/arcmsr.c      Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/arcmsr.c      Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arcmsr.c,v 1.43 2021/08/07 16:19:14 thorpej Exp $ */
+/*     $NetBSD: arcmsr.c,v 1.44 2022/09/25 17:52:25 thorpej Exp $ */
 /*     $OpenBSD: arc.c,v 1.68 2007/10/27 03:28:27 dlg Exp $ */
 
 /*
@@ -21,12 +21,11 @@
 #include "bio.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arcmsr.c,v 1.43 2021/08/07 16:19:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arcmsr.c,v 1.44 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 #include <sys/kmem.h>
 #include <sys/kthread.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/gffb.c
--- a/sys/dev/pci/gffb.c        Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/gffb.c        Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gffb.c,v 1.21 2022/08/15 11:55:52 macallan Exp $       */
+/*     $NetBSD: gffb.c,v 1.22 2022/09/25 17:52:25 thorpej Exp $        */
 
 /*
  * Copyright (c) 2013 Michael Lorenz
@@ -35,13 +35,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.21 2022/08/15 11:55:52 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.22 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/lwp.h>
 #include <sys/kauth.h>
 #include <sys/atomic.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/if_an_pci.c
--- a/sys/dev/pci/if_an_pci.c   Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/if_an_pci.c   Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_an_pci.c,v 1.37 2020/02/18 04:09:31 msaitoh Exp $   */
+/*     $NetBSD: if_an_pci.c,v 1.38 2022/09/25 17:52:25 thorpej Exp $   */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -36,12 +36,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_an_pci.c,v 1.37 2020/02/18 04:09:31 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_an_pci.c,v 1.38 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/if_athn_pci.c
--- a/sys/dev/pci/if_athn_pci.c Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/if_athn_pci.c Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_athn_pci.c,v 1.13 2018/12/09 11:14:02 jdolecek Exp $        */
+/*     $NetBSD: if_athn_pci.c,v 1.14 2022/09/25 17:52:25 thorpej Exp $ */
 /*     $OpenBSD: if_athn_pci.c,v 1.11 2011/01/08 10:02:32 damien Exp $ */
 
 /*-
@@ -22,7 +22,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.13 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.14 2022/09/25 17:52:25 thorpej Exp $");
 
 #include "opt_inet.h"
 
@@ -32,7 +32,6 @@
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/callout.h>
 #include <sys/device.h>
 
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/if_atw_pci.c
--- a/sys/dev/pci/if_atw_pci.c  Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/if_atw_pci.c  Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_atw_pci.c,v 1.28 2018/12/09 11:14:02 jdolecek Exp $ */
+/*     $NetBSD: if_atw_pci.c,v 1.29 2022/09/25 17:52:25 thorpej Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -37,12 +37,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_atw_pci.c,v 1.28 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_atw_pci.c,v 1.29 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/if_ral_pci.c
--- a/sys/dev/pci/if_ral_pci.c  Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/if_ral_pci.c  Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ral_pci.c,v 1.25 2018/12/09 11:14:02 jdolecek Exp $ */
+/*     $NetBSD: if_ral_pci.c,v 1.26 2022/09/25 17:52:25 thorpej Exp $  */
 /*     $OpenBSD: if_ral_pci.c,v 1.24 2015/11/24 17:11:39 mpi Exp $  */
 
 /*-
@@ -21,7 +21,7 @@
  * PCI front-end for the Ralink RT2560/RT2561/RT2860/RT3090 driver.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ral_pci.c,v 1.25 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ral_pci.c,v 1.26 2022/09/25 17:52:25 thorpej Exp $");
 
 
 #include <sys/param.h>
@@ -30,7 +30,6 @@
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 
 #include <sys/bus.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/if_rtw_pci.c
--- a/sys/dev/pci/if_rtw_pci.c  Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/if_rtw_pci.c  Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rtw_pci.c,v 1.24 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: if_rtw_pci.c,v 1.25 2022/09/25 17:52:25 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2004, 2005, 2010 David Young.  All rights reserved.
@@ -66,12 +66,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.24 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.25 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/joy_eso.c
--- a/sys/dev/pci/joy_eso.c     Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/joy_eso.c     Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: joy_eso.c,v 1.16 2019/05/08 13:40:19 isaki Exp $       */
+/*     $NetBSD: joy_eso.c,v 1.17 2022/09/25 17:52:25 thorpej Exp $     */
 
 /*
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -30,14 +30,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: joy_eso.c,v 1.16 2019/05/08 13:40:19 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: joy_eso.c,v 1.17 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/errno.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/proc.h>
 #include <sys/conf.h>
 #include <sys/select.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c      Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/machfb.c      Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machfb.c,v 1.106 2021/08/07 16:19:14 thorpej Exp $     */
+/*     $NetBSD: machfb.c,v 1.107 2022/09/25 17:52:25 thorpej Exp $     */
 
 /*
  * Copyright (c) 2002 Bang Jun-Young
@@ -34,13 +34,12 @@
 
 #include <sys/cdefs.h>
 __KERNEL_RCSID(0,
-       "$NetBSD: machfb.c,v 1.106 2021/08/07 16:19:14 thorpej Exp $");
+       "$NetBSD: machfb.c,v 1.107 2022/09/25 17:52:25 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/callout.h>
 #include <sys/lwp.h>
 #include <sys/kauth.h>
diff -r e2ac6c0472bc -r b14a4ccee5c8 sys/dev/pci/mfi_pci.c
--- a/sys/dev/pci/mfi_pci.c     Sun Sep 25 17:33:19 2022 +0000
+++ b/sys/dev/pci/mfi_pci.c     Sun Sep 25 17:52:25 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi_pci.c,v 1.21 2022/05/05 07:18:03 msaitoh Exp $ */
+/* $NetBSD: mfi_pci.c,v 1.22 2022/09/25 17:52:25 thorpej Exp $ */
 /* $OpenBSD: mfi_pci.c,v 1.11 2006/08/06 04:40:08 brad Exp $ */
 /*
  * Copyright (c) 2006 Marco Peereboom <marco%peereboom.us@localhost>
@@ -17,12 +17,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi_pci.c,v 1.21 2022/05/05 07:18:03 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi_pci.c,v 1.22 2022/09/25 17:52:25 thorpej Exp $");



Home | Main Index | Thread Index | Old Index