Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 09:21:21 UTC 2013

Modified Files:
        src/sys/dev/ic: pckbc.c

Log Message:
Remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/pckbc.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/ic/pckbc.c
diff -u src/sys/dev/ic/pckbc.c:1.54 src/sys/dev/ic/pckbc.c:1.55
--- src/sys/dev/ic/pckbc.c:1.54	Sat Oct 13 17:51:28 2012
+++ src/sys/dev/ic/pckbc.c	Sun Sep 15 09:21:21 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: pckbc.c,v 1.54 2012/10/13 17:51:28 jdc Exp $ */
+/* $NetBSD: pckbc.c,v 1.55 2013/09/15 09:21:21 martin Exp $ */
 
 /*
  * Copyright (c) 2004 Ben Harris.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.54 2012/10/13 17:51:28 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.55 2013/09/15 09:21:21 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -243,14 +243,10 @@ static int
 pckbc_attach_slot(struct pckbc_softc *sc, pckbc_slot_t slot)
 {
 	struct pckbc_internal *t = sc->id;
-	struct pckbc_attach_args pa;
 	void *sdata;
 	device_t child;
 	int alloced = 0;
 
-	pa.pa_tag = t;
-	pa.pa_slot = slot;
-
 	if (t->t_slotdata[slot] == NULL) {
 		sdata = malloc(sizeof(struct pckbc_slotdata),
 		    M_DEVBUF, M_NOWAIT);

Reply via email to