Module Name:    src
Committed By:   christos
Date:           Sat Nov  9 21:31:45 UTC 2013

Modified Files:
        src/sys/arch/sh3/dev: scif.c

Log Message:
fixed unused variable warning


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sh3/dev/scif.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/sh3/dev/scif.c
diff -u src/sys/arch/sh3/dev/scif.c:1.61 src/sys/arch/sh3/dev/scif.c:1.62
--- src/sys/arch/sh3/dev/scif.c:1.61	Thu Feb  2 14:43:00 2012
+++ src/sys/arch/sh3/dev/scif.c	Sat Nov  9 16:31:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: scif.c,v 1.61 2012/02/02 19:43:00 tls Exp $ */
+/*	$NetBSD: scif.c,v 1.62 2013/11/09 21:31:45 christos Exp $ */
 
 /*-
  * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu.  All rights reserved.
@@ -93,7 +93,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scif.c,v 1.61 2012/02/02 19:43:00 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scif.c,v 1.62 2013/11/09 21:31:45 christos Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_scif.h"
@@ -695,12 +695,11 @@ static void
 scif_iflush(struct scif_softc *sc)
 {
 	int i;
-	unsigned char c;
 
 	i = scif_fdr_read() & SCFDR2_RECVCNT;
 
 	while (i > 0) {
-		c = scif_frdr_read();
+		(void)scif_frdr_read();
 		scif_ssr_write(scif_ssr_read() & ~(SCSSR2_RDF | SCSSR2_DR));
 		i--;
 	}

Reply via email to