Module Name:    src
Committed By:   christos
Date:           Sun Mar 23 02:54:12 UTC 2014

Modified Files:
        src/sys/dev/pci: iwic_dchan.c

Log Message:
remove unused


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/iwic_dchan.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/pci/iwic_dchan.c
diff -u src/sys/dev/pci/iwic_dchan.c:1.8 src/sys/dev/pci/iwic_dchan.c:1.9
--- src/sys/dev/pci/iwic_dchan.c:1.8	Sat Mar 22 22:53:12 2014
+++ src/sys/dev/pci/iwic_dchan.c	Sat Mar 22 22:54:12 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: iwic_dchan.c,v 1.8 2014/03/23 02:53:12 christos Exp $	*/
+/*	$NetBSD: iwic_dchan.c,v 1.9 2014/03/23 02:54:12 christos Exp $	*/
 
 /*
  * Copyright (c) 1999, 2000 Dave Boyce. All rights reserved.
@@ -36,7 +36,7 @@
  *---------------------------------------------------------------------------*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iwic_dchan.c,v 1.8 2014/03/23 02:53:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iwic_dchan.c,v 1.9 2014/03/23 02:54:12 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -351,10 +351,10 @@ dchan_receive(struct iwic_softc *sc, int
 		}
 		else
 		{
-			int hi, lo;
+			int lo;
 
 			lo = IWIC_READ(sc, D_RBCL);
-			hi = IWIC_READ(sc, D_RBCH);
+			(void)IWIC_READ(sc, D_RBCH);
 			lo = lo & 0x3f;
 
 			if (lo == 0)

Reply via email to