Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/a8222434405b
branches:  trunk
changeset: 371219:a8222434405b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 29 07:00:46 2022 +0000

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

diffstat:

 sys/arch/mips/adm5120/dev/admpci.c                 |  5 ++---
 sys/arch/mips/adm5120/dev/if_admsw.c               |  5 ++---
 sys/arch/mips/adm5120/dev/if_admswvar.h            |  5 ++---
 sys/arch/mips/adm5120/dev/wdc_extio.c              |  5 ++---
 sys/arch/mips/alchemy/aubus.c                      |  5 ++---
 sys/arch/mips/alchemy/dev/aupci.c                  |  5 ++---
 sys/arch/mips/alchemy/dev/if_aumac.c               |  5 ++---
 sys/arch/mips/atheros/dev/if_ae.c                  |  5 ++---
 sys/arch/mips/atheros/dev/if_ath_arbus.c           |  5 ++---
 sys/arch/mips/cavium/dev/if_cnmac.c                |  5 ++---
 sys/arch/mips/cavium/dev/octeon_ciu.c              |  5 ++---
 sys/arch/mips/cavium/dev/octeon_smi.c              |  5 ++---
 sys/arch/mips/cavium/dev/octeon_xhci.c             |  3 +--
 sys/arch/mips/mips/bus_space_alignstride_chipdep.c |  5 ++---
 sys/arch/mips/mips/core_machdep.c                  |  5 ++---
 sys/arch/mips/mips/cpu_exec.c                      |  5 ++---
 sys/arch/mips/mips/vm_machdep.c                    |  5 ++---
 sys/arch/mips/ralink/ralink_bus.c                  |  5 ++---
 sys/arch/mips/ralink/ralink_eth.c                  |  5 ++---
 sys/arch/mips/ralink/ralink_i2c.c                  |  5 ++---
 sys/arch/mips/rmi/rmixl_cpu.c                      |  5 ++---
 sys/arch/mips/rmi/rmixl_cpunode.c                  |  5 ++---
 sys/arch/mips/rmi/rmixl_intr.c                     |  5 ++---
 sys/arch/mips/rmi/rmixl_mainbus.c                  |  5 ++---
 sys/arch/mips/rmi/rmixl_obio.c                     |  5 ++---
 25 files changed, 49 insertions(+), 74 deletions(-)

diffs (truncated from 626 to 300 lines):

diff -r da3953177c2a -r a8222434405b sys/arch/mips/adm5120/dev/admpci.c
--- a/sys/arch/mips/adm5120/dev/admpci.c        Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/admpci.c        Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: admpci.c,v 1.17 2022/09/29 06:58:37 skrll Exp $ */
+/* $NetBSD: admpci.c,v 1.18 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2007 David Young.  All rights reserved.
@@ -61,7 +61,7 @@
 #include "pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: admpci.c,v 1.17 2022/09/29 06:58:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: admpci.c,v 1.18 2022/09/29 07:00:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -71,7 +71,6 @@
 #include <sys/systm.h>
 #include <sys/errno.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/extent.h>
 
 #include <uvm/uvm_extern.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/adm5120/dev/if_admsw.c
--- a/sys/arch/mips/adm5120/dev/if_admsw.c      Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/if_admsw.c      Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_admsw.c,v 1.29 2022/09/18 11:17:36 thorpej Exp $ */
+/* $NetBSD: if_admsw.c,v 1.30 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_admsw.c,v 1.29 2022/09/18 11:17:36 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_admsw.c,v 1.30 2022/09/29 07:00:46 skrll Exp $");
 
 
 #include <sys/param.h>
@@ -88,7 +88,6 @@
 #include <sys/intr.h>
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/adm5120/dev/if_admswvar.h
--- a/sys/arch/mips/adm5120/dev/if_admswvar.h   Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/if_admswvar.h   Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_admswvar.h,v 1.8 2020/04/16 23:29:52 rin Exp $ */
+/* $NetBSD: if_admswvar.h,v 1.9 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -34,7 +34,7 @@
 #define        _IF_ADMSWVAR_H_
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_admswvar.h,v 1.8 2020/04/16 23:29:52 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_admswvar.h,v 1.9 2022/09/29 07:00:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -45,7 +45,6 @@
 #include <sys/intr.h>
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/adm5120/dev/wdc_extio.c
--- a/sys/arch/mips/adm5120/dev/wdc_extio.c     Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/wdc_extio.c     Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_extio.c,v 1.12 2020/12/03 08:48:06 skrll Exp $ */
+/*     $NetBSD: wdc_extio.c,v 1.13 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2007 David Young.  All rights reserved.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_extio.c,v 1.12 2020/12/03 08:48:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_extio.c,v 1.13 2022/09/29 07:00:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -70,7 +70,6 @@
 #include <sys/device.h>
 #include <sys/intr.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/systm.h>
 
 #include <mips/adm5120/include/adm5120_extiovar.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/alchemy/aubus.c
--- a/sys/arch/mips/alchemy/aubus.c     Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/alchemy/aubus.c     Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aubus.c,v 1.26 2022/09/29 06:58:51 skrll Exp $ */
+/* $NetBSD: aubus.c,v 1.27 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aubus.c,v 1.26 2022/09/29 06:58:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aubus.c,v 1.27 2022/09/29 07:00:46 skrll Exp $");
 
 #include "locators.h"
 #define _MIPS_BUS_DMA_PRIVATE
@@ -106,7 +106,6 @@
 #include <sys/bus.h>
 #include <sys/device.h>
 #include <sys/extent.h>
-#include <sys/malloc.h>
 #include <sys/systm.h>
 
 #include <mips/locore.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/alchemy/dev/aupci.c
--- a/sys/arch/mips/alchemy/dev/aupci.c Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/alchemy/dev/aupci.c Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aupci.c,v 1.21 2022/09/29 06:58:51 skrll Exp $ */
+/* $NetBSD: aupci.c,v 1.22 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -35,7 +35,7 @@
 #include "pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.21 2022/09/29 06:58:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.22 2022/09/29 07:00:46 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -43,7 +43,6 @@
 #include <sys/systm.h>
 #include <sys/errno.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/bus.h>
 
 #include <uvm/uvm_extern.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/alchemy/dev/if_aumac.c
--- a/sys/arch/mips/alchemy/dev/if_aumac.c      Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/alchemy/dev/if_aumac.c      Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aumac.c,v 1.51 2022/09/29 06:58:51 skrll Exp $ */
+/* $NetBSD: if_aumac.c,v 1.52 2022/09/29 07:00:46 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.51 2022/09/29 06:58:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.52 2022/09/29 07:00:46 skrll Exp $");
 
 
 
@@ -60,7 +60,6 @@
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 
 #include <uvm/uvm.h>           /* for PAGE_SIZE */
diff -r da3953177c2a -r a8222434405b sys/arch/mips/atheros/dev/if_ae.c
--- a/sys/arch/mips/atheros/dev/if_ae.c Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/atheros/dev/if_ae.c Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ae.c,v 1.41 2022/09/18 11:30:40 thorpej Exp $ */
+/* $NetBSD: if_ae.c,v 1.42 2022/09/29 07:00:46 skrll Exp $ */
 /*-
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
  * Copyright (c) 2006 Garrett D'Amore.
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ae.c,v 1.41 2022/09/18 11:30:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ae.c,v 1.42 2022/09/29 07:00:46 skrll Exp $");
 
 
 #include <sys/param.h>
@@ -110,7 +110,6 @@
 #include <sys/intr.h>
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/socket.h>
 
diff -r da3953177c2a -r a8222434405b sys/arch/mips/atheros/dev/if_ath_arbus.c
--- a/sys/arch/mips/atheros/dev/if_ath_arbus.c  Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/atheros/dev/if_ath_arbus.c  Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ath_arbus.c,v 1.22 2012/02/12 16:34:09 matt Exp $ */
+/* $NetBSD: if_ath_arbus.c,v 1.23 2022/09/29 07:00:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.22 2012/02/12 16:34:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.23 2022/09/29 07:00:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -42,7 +42,6 @@
 #include <sys/errno.h>
 #include <sys/intr.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/systm.h>
 
diff -r da3953177c2a -r a8222434405b sys/arch/mips/cavium/dev/if_cnmac.c
--- a/sys/arch/mips/cavium/dev/if_cnmac.c       Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/cavium/dev/if_cnmac.c       Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cnmac.c,v 1.28 2022/09/29 06:59:01 skrll Exp $      */
+/*     $NetBSD: if_cnmac.c,v 1.29 2022/09/29 07:00:46 skrll Exp $      */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.28 2022/09/29 06:59:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.29 2022/09/29 07:00:46 skrll Exp $");
 
 /*
  * If no free send buffer is available, free all the sent buffers and bail out.
@@ -40,7 +40,6 @@
 #include <sys/systm.h>
 #include <sys/pool.h>
 #include <sys/mbuf.h>
-#include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/cavium/dev/octeon_ciu.c
--- a/sys/arch/mips/cavium/dev/octeon_ciu.c     Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_ciu.c     Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_ciu.c,v 1.4 2020/06/23 05:14:18 simonb Exp $    */
+/*     $NetBSD: octeon_ciu.c,v 1.5 2022/09/29 07:00:46 skrll Exp $     */
 
 /*
  * Copyright (c) 2008 Internet Initiative Japan, Inc.
@@ -27,14 +27,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_ciu.c,v 1.4 2020/06/23 05:14:18 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_ciu.c,v 1.5 2022/09/29 07:00:46 skrll Exp $");
 
 #include "opt_octeon.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/types.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <machine/locore.h>
diff -r da3953177c2a -r a8222434405b sys/arch/mips/cavium/dev/octeon_smi.c
--- a/sys/arch/mips/cavium/dev/octeon_smi.c     Thu Sep 29 06:58:37 2022 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_smi.c     Thu Sep 29 07:00:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_smi.c,v 1.8 2022/09/29 06:59:01 skrll Exp $     */
+/*     $NetBSD: octeon_smi.c,v 1.9 2022/09/29 07:00:46 skrll Exp $     */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,13 +27,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_smi.c,v 1.8 2022/09/29 06:59:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_smi.c,v 1.9 2022/09/29 07:00:46 skrll Exp $");



Home | Main Index | Thread Index | Old Index