Module Name: src Committed By: wiz Date: Wed Jun 4 21:42:35 UTC 2014
Modified Files: src/sys/dev/ic: atppc.c Log Message: Remove set-but-unused variable. >From John D. Baker on current-users. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/atppc.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/atppc.c diff -u src/sys/dev/ic/atppc.c:1.30 src/sys/dev/ic/atppc.c:1.31 --- src/sys/dev/ic/atppc.c:1.30 Thu May 26 02:37:25 2011 +++ src/sys/dev/ic/atppc.c Wed Jun 4 21:42:35 2014 @@ -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 @@ atppc_ecp_read_error(struct atppc_softc 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_std_write(struct atppc_softc * con 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);