Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/28fdc0d6fa29
branches:  trunk
changeset: 344882:28fdc0d6fa29
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Apr 26 09:00:22 2016 +0000

description:
Remove unused variable

diffstat:

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

diffs (26 lines):

diff -r 65b697870b3e -r 28fdc0d6fa29 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Tue Apr 26 08:48:32 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Tue Apr 26 09:00:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.49 2016/04/25 20:15:41 joerg Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.50 2016/04/26 09:00:22 skrll Exp $       */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.49 2016/04/25 20:15:41 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.50 2016/04/26 09:00:22 skrll Exp $");
 
 #include "opt_slhci.h"
 
@@ -1384,7 +1384,6 @@
 slhci_mem_use(struct usbd_bus *bus, int val)
 {
        struct slhci_softc *sc = SLHCI_BUS2SC(bus);
-       int s;
 
        mutex_enter(&sc->sc_intr_lock);
        sc->sc_mem_use += val;



Home | Main Index | Thread Index | Old Index