Module Name: src
Committed By: martin
Date: Sun Jun 29 12:18:42 UTC 2014
Modified Files:
src/sys/arch/mac68k/dev: sbc.c
Log Message:
Remove an unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/mac68k/dev/sbc.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/arch/mac68k/dev/sbc.c
diff -u src/sys/arch/mac68k/dev/sbc.c:1.55 src/sys/arch/mac68k/dev/sbc.c:1.56
--- src/sys/arch/mac68k/dev/sbc.c:1.55 Fri Dec 7 08:04:02 2012
+++ src/sys/arch/mac68k/dev/sbc.c Sun Jun 29 12:18:42 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: sbc.c,v 1.55 2012/12/07 08:04:02 hauke Exp $ */
+/* $NetBSD: sbc.c,v 1.56 2014/06/29 12:18:42 martin Exp $ */
/*
* Copyright (C) 1996 Scott Reynolds. All rights reserved.
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbc.c,v 1.55 2012/12/07 08:04:02 hauke Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbc.c,v 1.56 2014/06/29 12:18:42 martin Exp $");
#include "opt_ddb.h"
@@ -426,7 +426,6 @@ sbc_drq_intr(void *p)
volatile u_int8_t *drq = 0; /* XXX gcc4 -Wuninitialized */
u_int8_t *data;
int count, dcount, resid;
- u_int8_t tmp;
/*
* If we're not ready to xfer data, or have no more, just return.
@@ -534,7 +533,7 @@ sbc_drq_intr(void *p)
*/
if (dcount >= MAX_DMA_LEN)
drq = (volatile u_int8_t *)sc->sc_drq_addr;
- tmp = *drq;
+ (void)*drq;
} else { /* Data In */
/*
* Get the dest address aligned.