Source-Changes-HG archive

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

[src/prg-localcount2]: src/sys Remove more unnecessary #include for sys/local...



details:   https://anonhg.NetBSD.org/src/rev/5f1eaac86474
branches:  prg-localcount2
changeset: 823526:5f1eaac86474
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Apr 29 11:12:14 2017 +0000

description:
Remove more unnecessary #include for sys/localcount.h

diffstat:

 sys/dev/audio.c                              |  5 ++---
 sys/dev/dm/device-mapper.c                   |  3 +--
 sys/dev/fss.c                                |  5 ++---
 sys/dev/ld.c                                 |  5 ++---
 sys/dev/md.c                                 |  8 +++-----
 sys/dev/pad/pad.c                            |  5 ++---
 sys/dev/pci/pci_usrreq.c                     |  5 ++---
 sys/dev/pud/pud_dev.c                        |  5 ++---
 sys/dev/putter/putter.c                      |  5 ++---
 sys/dev/raidframe/rf_netbsdkintf.c           |  5 ++---
 sys/dev/rndpseudo.c                          |  5 ++---
 sys/dev/scsipi/cd.c                          |  5 ++---
 sys/dev/spkr.c                               |  5 ++---
 sys/dev/usb/ucom.c                           |  5 ++---
 sys/dev/usb/ulpt.c                           |  5 ++---
 sys/dev/wscons/wskbd.c                       |  5 ++---
 sys/dev/wscons/wsmouse.c                     |  5 ++---
 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c |  7 ++-----
 sys/kern/kern_drvctl.c                       |  5 ++---
 sys/kern/tty_ptm.c                           |  5 ++---
 sys/kern/tty_pty.c                           |  5 ++---
 sys/kern/tty_tty.c                           |  5 ++---
 sys/net/bpf.c                                |  5 ++---
 sys/net/npf/npf.c                            |  5 ++---
 sys/netsmb/smb_dev.c                         |  5 ++---
 sys/opencrypto/cryptodev.c                   |  5 ++---
 sys/rump/librump/rumpvfs/devnull.c           |  5 ++---
 sys/rump/librump/rumpvfs/rumpblk.c           |  5 ++---
 28 files changed, 56 insertions(+), 87 deletions(-)

diffs (truncated from 727 to 300 lines):

diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/audio.c
--- a/sys/dev/audio.c   Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/audio.c   Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.327.2.1 2017/04/27 05:36:35 pgoyette Exp $ */
+/*     $NetBSD: audio.c,v 1.327.2.2 2017/04/29 11:12:14 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.327.2.1 2017/04/27 05:36:35 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.327.2.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -179,7 +179,6 @@
 #include <sys/intr.h>
 #include <sys/kthread.h>
 #include <sys/cpu.h>
-#include <sys/localcount.h>
 
 #include <dev/audio_if.h>
 #include <dev/audiovar.h>
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/dm/device-mapper.c
--- a/sys/dev/dm/device-mapper.c        Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/dm/device-mapper.c        Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*        $NetBSD: device-mapper.c,v 1.38.8.1 2017/04/27 05:36:35 pgoyette Exp $ */
+/*        $NetBSD: device-mapper.c,v 1.38.8.2 2017/04/29 11:12:14 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -46,7 +46,6 @@
 #include <sys/ioccom.h>
 #include <sys/kmem.h>
 #include <sys/kauth.h>
-#include <sys/localcount.h>
 
 #include "netbsd-dm.h"
 #include "dm.h"
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/fss.c
--- a/sys/dev/fss.c     Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/fss.c     Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fss.c,v 1.97.4.2 2017/04/28 06:00:33 pgoyette Exp $    */
+/*     $NetBSD: fss.c,v 1.97.4.3 2017/04/29 11:12:14 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.97.4.2 2017/04/28 06:00:33 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fss.c,v 1.97.4.3 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -58,7 +58,6 @@
 #include <sys/kthread.h>
 #include <sys/fstrans.h>
 #include <sys/vfs_syscalls.h>          /* For do_sys_unlink(). */
-#include <sys/localcount.h>
 
 #include <miscfs/specfs/specdev.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/ld.c
--- a/sys/dev/ld.c      Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/ld.c      Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld.c,v 1.100.4.1 2017/04/27 05:36:35 pgoyette Exp $    */
+/*     $NetBSD: ld.c,v 1.100.4.2 2017/04/29 11:12:14 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.100.4.1 2017/04/27 05:36:35 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld.c,v 1.100.4.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -54,7 +54,6 @@
 #include <sys/vnode.h>
 #include <sys/syslog.h>
 #include <sys/mutex.h>
-#include <sys/localcount.h>
 #include <sys/module.h>
 #include <sys/reboot.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/md.c
--- a/sys/dev/md.c      Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/md.c      Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.78.6.3 2017/04/28 06:00:33 pgoyette Exp $     */
+/*     $NetBSD: md.c,v 1.78.6.4 2017/04/29 11:12:14 pgoyette Exp $     */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.78.6.3 2017/04/28 06:00:33 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.78.6.4 2017/04/29 11:12:14 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_md.h"
@@ -60,7 +60,6 @@
 #include <sys/proc.h>
 #include <sys/conf.h>
 #include <sys/disklabel.h>
-#include <sys/localcount.h>
 
 #include <uvm/uvm_extern.h>
 
@@ -196,8 +195,7 @@
 }
 
 /*
- * Caller must hold a reference to the device's localcount.  The reference
- * is released if detach is successful.
+ * Caller must hold a reference to the device's localcount.
  */
 static int
 md_detach(device_t self, int flags)
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/pad/pad.c Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.28.4.1 2017/04/27 05:36:36 pgoyette Exp $ */
+/* $NetBSD: pad.c,v 1.28.4.2 2017/04/29 11:12:14 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.28.4.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.28.4.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -44,7 +44,6 @@
 #include <sys/module.h>
 #include <sys/atomic.h>
 #include <sys/time.h>
-#include <sys/localcount.h>
 
 #include <dev/audio_if.h>
 #include <dev/audiovar.h>
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/pci/pci_usrreq.c
--- a/sys/dev/pci/pci_usrreq.c  Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/pci/pci_usrreq.c  Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_usrreq.c,v 1.30.6.1 2017/04/27 05:36:36 pgoyette Exp $     */
+/*     $NetBSD: pci_usrreq.c,v 1.30.6.2 2017/04/29 11:12:14 pgoyette Exp $     */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_usrreq.c,v 1.30.6.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_usrreq.c,v 1.30.6.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -55,7 +55,6 @@
 #include <sys/errno.h>
 #include <sys/fcntl.h>
 #include <sys/kauth.h>
-#include <sys/localcount.h>
 
 #include <dev/pci/pcireg.h>
 #include <dev/pci/pcivar.h>
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/pud/pud_dev.c
--- a/sys/dev/pud/pud_dev.c     Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/pud/pud_dev.c     Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pud_dev.c,v 1.7.8.1 2017/04/27 05:36:36 pgoyette Exp $ */
+/*     $NetBSD: pud_dev.c,v 1.7.8.2 2017/04/29 11:12:14 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2007  Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pud_dev.c,v 1.7.8.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pud_dev.c,v 1.7.8.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -39,7 +39,6 @@
 #include <sys/kmem.h>
 #include <sys/poll.h>
 #include <sys/socketvar.h>
-#include <sys/localcount.h>
 
 #include <dev/pud/pud_sys.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/putter/putter.c
--- a/sys/dev/putter/putter.c   Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/putter/putter.c   Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: putter.c,v 1.35.18.1 2017/04/27 05:36:36 pgoyette Exp $        */
+/*     $NetBSD: putter.c,v 1.35.18.2 2017/04/29 11:12:14 pgoyette Exp $        */
 
 /*
  * Copyright (c) 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.35.18.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.35.18.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -48,7 +48,6 @@
 #include <sys/socketvar.h>
 #include <sys/module.h>
 #include <sys/kauth.h>
-#include <sys/localcount.h>
 
 #include <dev/putter/putter_sys.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.349.4.1 2017/04/27 05:36:36 pgoyette Exp $        */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.349.4.2 2017/04/29 11:12:14 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.349.4.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.349.4.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -127,7 +127,6 @@
 #include <sys/reboot.h>
 #include <sys/kauth.h>
 #include <sys/module.h>
-#include <sys/localcount.h>
 
 #include <prop/proplib.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/rndpseudo.c
--- a/sys/dev/rndpseudo.c       Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/rndpseudo.c       Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rndpseudo.c,v 1.35.8.1 2017/04/27 05:36:35 pgoyette Exp $      */
+/*     $NetBSD: rndpseudo.c,v 1.35.8.2 2017/04/29 11:12:14 pgoyette Exp $      */
 
 /*-
  * Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.35.8.1 2017/04/27 05:36:35 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rndpseudo.c,v 1.35.8.2 2017/04/29 11:12:14 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -62,7 +62,6 @@
 #include <sys/stat.h>
 #include <sys/systm.h>
 #include <sys/vnode.h>
-#include <sys/localcount.h>
 
 #include <dev/rnd_private.h>
 
diff -r 679d65b90f5e -r 5f1eaac86474 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c       Sat Apr 29 10:50:46 2017 +0000
+++ b/sys/dev/scsipi/cd.c       Sat Apr 29 11:12:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd.c,v 1.340.4.1 2017/04/27 05:36:36 pgoyette Exp $    */
+/*     $NetBSD: cd.c,v 1.340.4.2 2017/04/29 11:12:14 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>



Home | Main Index | Thread Index | Old Index