Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci remove an unnecessary call to vtbl->unlock



details:   https://anonhg.NetBSD.org/src/rev/320b8a8fe9c6
branches:  trunk
changeset: 771570:320b8a8fe9c6
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Nov 25 12:50:32 2011 +0000

description:
remove an unnecessary call to vtbl->unlock

diffstat:

 sys/dev/pci/gcscaudio.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7614c3e36660 -r 320b8a8fe9c6 sys/dev/pci/gcscaudio.c
--- a/sys/dev/pci/gcscaudio.c   Fri Nov 25 12:45:00 2011 +0000
+++ b/sys/dev/pci/gcscaudio.c   Fri Nov 25 12:50:32 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gcscaudio.c,v 1.10 2011/11/25 12:31:55 jmcneill Exp $  */
+/*     $NetBSD: gcscaudio.c,v 1.11 2011/11/25 12:50:32 jmcneill Exp $  */
 
 /*-
  * Copyright (c) 2008 SHIMIZU Ryo <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gcscaudio.c,v 1.10 2011/11/25 12:31:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gcscaudio.c,v 1.11 2011/11/25 12:50:32 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -350,7 +350,6 @@
        }
 
        audio_attach_mi(&gcscaudio_hw_if, sc, &sc->sc_dev);
-       sc->codec_if->vtbl->unlock(sc->codec_if);
        return;
 
 attach_failure_codec:



Home | Main Index | Thread Index | Old Index