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/01cca9c6fdd3
branches: trunk
changeset: 790015:01cca9c6fdd3
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 09:21:21 2013 +0000
description:
Remove unused variable
diffstat:
sys/dev/ic/pckbc.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r 89de82074ae0 -r 01cca9c6fdd3 sys/dev/ic/pckbc.c
--- a/sys/dev/ic/pckbc.c Sun Sep 15 09:19:52 2013 +0000
+++ b/sys/dev/ic/pckbc.c Sun Sep 15 09:21:21 2013 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index