Source-Changes-HG archive

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

[src/jmcneill-audiomp3]: src/sys get rid of unused 'powerstate' callback in a...



details:   https://anonhg.NetBSD.org/src/rev/41553ce10106
branches:  jmcneill-audiomp3
changeset: 771402:41553ce10106
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Nov 22 22:47:02 2011 +0000

description:
get rid of unused 'powerstate' callback in audio_hw_if

diffstat:

 sys/arch/amiga/dev/aucc.c         |   5 ++---
 sys/arch/amiga/dev/repulse.c      |   5 ++---
 sys/arch/amiga/dev/toccata.c      |   5 ++---
 sys/arch/arm/iomd/vidcaudio.c     |   5 ++---
 sys/arch/arm/xscale/pxa2x0_ac97.c |   3 +--
 sys/arch/dreamcast/dev/g2/aica.c  |   5 ++---
 sys/arch/hp700/gsc/harmony.c      |   3 +--
 sys/arch/hpcmips/vr/vraiu.c       |   5 ++---
 sys/arch/macppc/dev/awacs.c       |   5 ++---
 sys/arch/macppc/dev/snapper.c     |   5 ++---
 sys/arch/prep/isa/paud_isa.c      |   5 ++---
 sys/arch/sgimips/hpc/haltwo.c     |   5 ++---
 sys/arch/sgimips/mace/mavb.c      |   3 +--
 sys/arch/sparc/dev/audioamd.c     |   5 ++---
 sys/arch/x68k/dev/vs.c            |   5 ++---
 sys/arch/zaurus/dev/zaudio.c      |   5 ++---
 sys/dev/audio_if.h                |   5 +----
 sys/dev/bluetooth/btsco.c         |   5 ++---
 sys/dev/ebus/cs4231_ebus.c        |   5 ++---
 sys/dev/ic/tms320av110.c          |   5 ++---
 sys/dev/isa/aria.c                |   5 ++---
 sys/dev/isa/ess.c                 |   6 ++----
 sys/dev/isa/gus.c                 |   6 ++----
 sys/dev/isa/pas.c                 |   5 ++---
 sys/dev/isa/sb.c                  |   5 ++---
 sys/dev/isa/wss.c                 |   5 ++---
 sys/dev/isa/ym.c                  |   5 ++---
 sys/dev/isapnp/gus_isapnp.c       |   5 ++---
 sys/dev/pci/auacer.c              |   5 ++---
 sys/dev/pci/auich.c               |  12 ++----------
 sys/dev/pci/auixp.c               |   5 ++---
 sys/dev/pci/autri.c               |   5 ++---
 sys/dev/pci/auvia.c               |   5 ++---
 sys/dev/pci/azalia.c              |   5 ++---
 sys/dev/pci/cmpci.c               |   5 ++---
 sys/dev/pci/cs4280.c              |   5 ++---
 sys/dev/pci/cs4281.c              |   5 ++---
 sys/dev/pci/eap.c                 |   6 ++----
 sys/dev/pci/emuxki.c              |   5 ++---
 sys/dev/pci/esa.c                 |   5 ++---
 sys/dev/pci/esm.c                 |   5 ++---
 sys/dev/pci/eso.c                 |   5 ++---
 sys/dev/pci/fms.c                 |   5 ++---
 sys/dev/pci/gcscaudio.c           |   5 ++---
 sys/dev/pci/neo.c                 |   5 ++---
 sys/dev/pci/sv.c                  |   5 ++---
 sys/dev/pci/yds.c                 |   5 ++---
 sys/dev/sbus/cs4231_sbus.c        |   5 ++---
 sys/dev/tc/bba.c                  |   5 ++---
 sys/dev/usb/uaudio.c              |   5 ++---
 50 files changed, 96 insertions(+), 158 deletions(-)

diffs (truncated from 1312 to 300 lines):

diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/amiga/dev/aucc.c
--- a/sys/arch/amiga/dev/aucc.c Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/amiga/dev/aucc.c Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aucc.c,v 1.40.104.1 2011/11/20 12:41:59 mrg Exp $ */
+/*     $NetBSD: aucc.c,v 1.40.104.2 2011/11/22 22:47:02 jmcneill Exp $ */
 
 /*
  * Copyright (c) 1999 Bernardo Innocenti
@@ -53,7 +53,7 @@
 #if NAUCC > 0
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.40.104.1 2011/11/20 12:41:59 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.40.104.2 2011/11/22 22:47:02 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -260,7 +260,6 @@
        NULL,
        NULL,
        NULL,
-       NULL,
        aucc_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/amiga/dev/repulse.c
--- a/sys/arch/amiga/dev/repulse.c      Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/amiga/dev/repulse.c      Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: repulse.c,v 1.17.4.2 2011/11/20 11:43:55 mrg Exp $ */
+/*     $NetBSD: repulse.c,v 1.17.4.3 2011/11/22 22:47:02 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: repulse.c,v 1.17.4.2 2011/11/20 11:43:55 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: repulse.c,v 1.17.4.3 2011/11/22 22:47:02 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -123,7 +123,6 @@
        /* trigger_output */ 0,
        /* trigger_input */ 0,
        /* dev_ioctl */ 0,
-       /* powerstate */ 0,
        rep_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/amiga/dev/toccata.c
--- a/sys/arch/amiga/dev/toccata.c      Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/amiga/dev/toccata.c      Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: toccata.c,v 1.14.4.1 2011/11/20 12:41:59 mrg Exp $ */
+/* $NetBSD: toccata.c,v 1.14.4.2 2011/11/22 22:47:02 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: toccata.c,v 1.14.4.1 2011/11/20 12:41:59 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: toccata.c,v 1.14.4.2 2011/11/22 22:47:02 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -208,7 +208,6 @@
        0,      /* trigger_output */
        0,
        0,
-       0,
        toccata_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/arm/iomd/vidcaudio.c
--- a/sys/arch/arm/iomd/vidcaudio.c     Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/arm/iomd/vidcaudio.c     Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidcaudio.c,v 1.46.40.1 2011/11/20 12:58:45 mrg Exp $  */
+/*     $NetBSD: vidcaudio.c,v 1.46.40.2 2011/11/22 22:47:02 jmcneill Exp $     */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson
@@ -65,7 +65,7 @@
 
 #include <sys/param.h> /* proc.h */
 
-__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.46.40.1 2011/11/20 12:58:45 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.46.40.2 2011/11/22 22:47:02 jmcneill Exp $");
 
 #include <sys/audioio.h>
 #include <sys/conf.h>   /* autoconfig functions */
@@ -194,7 +194,6 @@
        vidcaudio_trigger_output,
        vidcaudio_trigger_input,
        NULL,
-       NULL,
        vidcaudio_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/arm/xscale/pxa2x0_ac97.c
--- a/sys/arch/arm/xscale/pxa2x0_ac97.c Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_ac97.c Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pxa2x0_ac97.c,v 1.9.4.2 2011/11/20 13:47:07 jmcneill Exp $     */
+/*     $NetBSD: pxa2x0_ac97.c,v 1.9.4.3 2011/11/22 22:47:02 jmcneill Exp $     */
 
 /*
  * Copyright (c) 2003, 2005 Wasabi Systems, Inc.
@@ -183,7 +183,6 @@
        acu_trigger_output,
        acu_trigger_input,
        NULL,
-       NULL,
        acu_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/dreamcast/dev/g2/aica.c
--- a/sys/arch/dreamcast/dev/g2/aica.c  Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/dreamcast/dev/g2/aica.c  Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aica.c,v 1.21.4.1 2011/11/20 15:00:35 jmcneill Exp $   */
+/*     $NetBSD: aica.c,v 1.21.4.2 2011/11/22 22:47:02 jmcneill Exp $   */
 
 /*
  * Copyright (c) 2003 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.21.4.1 2011/11/20 15:00:35 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.21.4.2 2011/11/22 22:47:02 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -194,7 +194,6 @@
        aica_trigger_output,
        aica_trigger_input,
        NULL,                           /* aica_dev_ioctl */
-       NULL,                           /* aica_powerstate */
        aica_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/hp700/gsc/harmony.c
--- a/sys/arch/hp700/gsc/harmony.c      Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/hp700/gsc/harmony.c      Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: harmony.c,v 1.23.4.1 2011/11/20 15:23:46 jmcneill Exp $        */
+/*     $NetBSD: harmony.c,v 1.23.4.2 2011/11/22 22:47:03 jmcneill Exp $        */
 
 /*     $OpenBSD: harmony.c,v 1.23 2004/02/13 21:28:19 mickey Exp $     */
 
@@ -146,7 +146,6 @@
        harmony_trigger_output,
        harmony_trigger_input,
        NULL,
-       NULL,
        harmony_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/hpcmips/vr/vraiu.c
--- a/sys/arch/hpcmips/vr/vraiu.c       Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/hpcmips/vr/vraiu.c       Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vraiu.c,v 1.12.80.1 2011/11/20 14:26:34 jmcneill Exp $ */
+/*     $NetBSD: vraiu.c,v 1.12.80.2 2011/11/22 22:47:03 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2001 HAMAJIMA Katsuomi. All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vraiu.c,v 1.12.80.1 2011/11/20 14:26:34 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vraiu.c,v 1.12.80.2 2011/11/22 22:47:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -147,7 +147,6 @@
        NULL,
        NULL,
        NULL,
-       NULL,
        vraiu_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/macppc/dev/awacs.c
--- a/sys/arch/macppc/dev/awacs.c       Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/macppc/dev/awacs.c       Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awacs.c,v 1.40.6.1 2011/11/22 00:48:48 macallan Exp $  */
+/*     $NetBSD: awacs.c,v 1.40.6.2 2011/11/22 22:47:03 jmcneill Exp $  */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.40.6.1 2011/11/22 00:48:48 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.40.6.2 2011/11/22 22:47:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -190,7 +190,6 @@
        awacs_trigger_output,
        awacs_trigger_input,
        NULL,
-       NULL,
        awacs_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/macppc/dev/snapper.c
--- a/sys/arch/macppc/dev/snapper.c     Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/macppc/dev/snapper.c     Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: snapper.c,v 1.36.10.1 2011/11/22 05:54:54 macallan Exp $       */
+/*     $NetBSD: snapper.c,v 1.36.10.2 2011/11/22 22:47:03 jmcneill Exp $       */
 /*     Id: snapper.c,v 1.11 2002/10/31 17:42:13 tsubai Exp     */
 /*     Id: i2s.c,v 1.12 2005/01/15 14:32:35 tsubai Exp         */
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.36.10.1 2011/11/22 05:54:54 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.36.10.2 2011/11/22 22:47:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -303,7 +303,6 @@
        snapper_trigger_output,
        snapper_trigger_input,
        NULL,
-       NULL,
        snapper_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/prep/isa/paud_isa.c
--- a/sys/arch/prep/isa/paud_isa.c      Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/prep/isa/paud_isa.c      Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: paud_isa.c,v 1.14.4.1 2011/11/20 16:34:08 jmcneill Exp $       */
+/*     $NetBSD: paud_isa.c,v 1.14.4.2 2011/11/22 22:47:03 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: paud_isa.c,v 1.14.4.1 2011/11/20 16:34:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: paud_isa.c,v 1.14.4.2 2011/11/22 22:47:03 jmcneill Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -121,7 +121,6 @@
        ad1848_isa_trigger_output,
        ad1848_isa_trigger_input,
        NULL,
-       NULL,
        ad1848_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/sgimips/hpc/haltwo.c
--- a/sys/arch/sgimips/hpc/haltwo.c     Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/sgimips/hpc/haltwo.c     Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: haltwo.c,v 1.20.4.1 2011/11/20 12:07:27 jmcneill Exp $ */
+/* $NetBSD: haltwo.c,v 1.20.4.2 2011/11/22 22:47:03 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2003 Ilpo Ruotsalainen
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: haltwo.c,v 1.20.4.1 2011/11/20 12:07:27 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: haltwo.c,v 1.20.4.2 2011/11/22 22:47:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -106,7 +106,6 @@
        haltwo_trigger_output,
        haltwo_trigger_input,
        NULL, /* dev_ioctl */
-       NULL, /* powerstate */
        haltwo_get_locks,
 };
 
diff -r 6f1dee5384f6 -r 41553ce10106 sys/arch/sgimips/mace/mavb.c
--- a/sys/arch/sgimips/mace/mavb.c      Tue Nov 22 18:29:06 2011 +0000
+++ b/sys/arch/sgimips/mace/mavb.c      Tue Nov 22 22:47:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mavb.c,v 1.7.4.3 2011/11/20 18:25:46 jmcneill Exp $ */
+/* $NetBSD: mavb.c,v 1.7.4.4 2011/11/22 22:47:03 jmcneill Exp $ */



Home | Main Index | Thread Index | Old Index