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
details: https://anonhg.NetBSD.org/src/rev/ca32639bc964
branches: trunk
changeset: 327999:ca32639bc964
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 23 02:44:00 2014 +0000
description:
remove unused
diffstat:
sys/dev/ic/iavc.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 406068eb4371 -r ca32639bc964 sys/dev/ic/iavc.c
--- a/sys/dev/ic/iavc.c Sun Mar 23 01:29:12 2014 +0000
+++ b/sys/dev/ic/iavc.c Sun Mar 23 02:44:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iavc.c,v 1.10 2013/05/29 09:26:02 martin Exp $ */
+/* $NetBSD: iavc.c,v 1.11 2014/03/23 02:44:00 christos Exp $ */
/*
* Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iavc.c,v 1.10 2013/05/29 09:26:02 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iavc.c,v 1.11 2014/03/23 02:44:00 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -732,14 +732,13 @@
static int iavc_receive_debugmsg(iavc_softc_t *sc, u_int8_t *dmabuf)
{
u_int32_t Length;
- u_int8_t *p;
printf("%s: receive_debugmsg\n", device_xname(sc->sc_dev));
if (sc->sc_dma) {
- p = amcc_get_word(dmabuf, &Length);
+ amcc_get_word(dmabuf, &Length);
} else {
Length = iavc_get_slice(sc, sc->sc_recvbuf);
- p = sc->sc_recvbuf;
+ sc->sc_recvbuf;
}
/* XXX could show the message if trace enabled? XXX */
Home |
Main Index |
Thread Index |
Old Index