Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 15:07:06 UTC 2013

Modified Files:
        src/sys/dev/usb: uep.c

Log Message:
Remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/uep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/uep.c
diff -u src/sys/dev/usb/uep.c:1.18 src/sys/dev/usb/uep.c:1.19
--- src/sys/dev/usb/uep.c:1.18	Fri Dec 23 00:51:45 2011
+++ src/sys/dev/usb/uep.c	Sun Sep 15 15:07:06 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: uep.c,v 1.18 2011/12/23 00:51:45 jakllsch Exp $	*/
+/*	$NetBSD: uep.c,v 1.19 2013/09/15 15:07:06 martin Exp $	*/
 
 /*
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  *  eGalax USB touchpanel controller driver.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uep.c,v 1.18 2011/12/23 00:51:45 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uep.c,v 1.19 2013/09/15 15:07:06 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -134,7 +134,7 @@ uep_attach(device_t parent, device_t sel
 	struct wsmousedev_attach_args a;
 	char *devinfop;
 	usbd_status err;
-	int i, found;
+	int i;
 
 	sc->sc_dev = self;
 
@@ -179,7 +179,6 @@ uep_attach(device_t parent, device_t sel
 	/* Find the interrupt endpoint */
 	id = usbd_get_interface_descriptor(sc->sc_iface);
 	sc->sc_iface_number = id->bInterfaceNumber;
-	found = 0;
 
 	for (i = 0; i < id->bNumEndpoints; i++) {
 		ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i);

Reply via email to