Module Name: src
Committed By: christos
Date: Sun Mar 23 02:50:51 UTC 2014
Modified Files:
src/sys/dev/isa: isv.c
Log Message:
remove unused
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/isa/isv.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/isa/isv.c
diff -u src/sys/dev/isa/isv.c:1.5 src/sys/dev/isa/isv.c:1.6
--- src/sys/dev/isa/isv.c:1.5 Sun Mar 16 01:20:28 2014
+++ src/sys/dev/isa/isv.c Sat Mar 22 22:50:51 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: isv.c,v 1.5 2014/03/16 05:20:28 dholland Exp $ */
+/* $NetBSD: isv.c,v 1.6 2014/03/23 02:50:51 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isv.c,v 1.5 2014/03/16 05:20:28 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isv.c,v 1.6 2014/03/23 02:50:51 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -324,7 +324,6 @@ static int
isv_capture(struct isv_softc *sc)
{
int speed;
- uint16_t discard;
int rc, state = ISV_S_CAPTURE0;
struct timeval diff, end, start, stop;
static const struct timeval wait = {.tv_sec = 0, .tv_usec = 200000};
@@ -372,7 +371,7 @@ isv_capture(struct isv_softc *sc)
/* read one dummy word to prime the state machine on the
* image capture board
*/
- discard = isv_read(ir, ISV_DATA);
+ isv_read(ir, ISV_DATA);
bus_space_read_multi_stream_2(ir->ir_bt, ir->ir_bh, ISV_DATA,
sc->sc_frame, ISV_WIDTH * ISV_LINES / 2);