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 set-but-unused variable.
details: https://anonhg.NetBSD.org/src/rev/9f6c1622a21f
branches: trunk
changeset: 796465:9f6c1622a21f
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Jun 04 21:42:35 2014 +0000
description:
Remove set-but-unused variable.
>From John D. Baker on current-users.
diffstat:
sys/dev/ic/atppc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 9395ff90f778 -r 9f6c1622a21f sys/dev/ic/atppc.c
--- a/sys/dev/ic/atppc.c Wed Jun 04 21:24:54 2014 +0000
+++ b/sys/dev/ic/atppc.c Wed Jun 04 21:42:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atppc.c,v 1.30 2011/05/26 02:37:25 jakllsch Exp $ */
+/* $NetBSD: atppc.c,v 1.31 2014/06/04 21:42:35 wiz Exp $ */
/*
* Copyright (c) 2001 Alcove - Nicolas Souchu
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.30 2011/05/26 02:37:25 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atppc.c,v 1.31 2014/06/04 21:42:35 wiz Exp $");
#include "opt_atppc.h"
@@ -1962,7 +1962,6 @@
static void
atppc_std_write(struct atppc_softc * const atppc)
{
- unsigned int timecount;
unsigned char ctr;
ctr = atppc_r_ctr(atppc);
@@ -1997,7 +1996,6 @@
atppc_barrier_w(atppc);
/* Wait for nACK for MAXBUSYWAIT */
- timecount = 0;
if (atppc->sc_use & ATPPC_USE_INTR) {
atppc->sc_outerr = atppc_wait_interrupt(atppc,
&atppc->sc_out_cv, ATPPC_IRQ_nACK);
Home |
Main Index |
Thread Index |
Old Index