Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pad get rid of a variable which is no longer used af...



details:   https://anonhg.NetBSD.org/src/rev/917185a4eaab
branches:  trunk
changeset: 771519:917185a4eaab
user:      agc <agc%NetBSD.org@localhost>
date:      Thu Nov 24 01:54:08 2011 +0000

description:
get rid of a variable which is no longer used after the demise of splaudio

diffstat:

 sys/dev/pad/pad.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 95753ddf4e09 -r 917185a4eaab sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Thu Nov 24 01:49:39 2011 +0000
+++ b/sys/dev/pad/pad.c Thu Nov 24 01:54:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.18 2011/11/24 01:11:04 jmcneill Exp $ */
+/* $NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc 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.18 2011/11/24 01:11:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -654,7 +654,7 @@
 pad_modcmd(modcmd_t cmd, void *arg)
 {
        devmajor_t cmajor = NODEVMAJOR, bmajor = NODEVMAJOR;
-       int error, s;
+       int error;
 
        switch (cmd) {
        case MODULE_CMD_INIT:



Home | Main Index | Thread Index | Old Index