Module Name:    src
Committed By:   tsutsui
Date:           Sat Jul  5 09:36:49 UTC 2014

Modified Files:
        src/sys/arch/atari/dev: atari5380.c

Log Message:
Appease gcc48 -Wunused-but-set-variable warning.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/atari/dev/atari5380.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/atari/dev/atari5380.c
diff -u src/sys/arch/atari/dev/atari5380.c:1.60 src/sys/arch/atari/dev/atari5380.c:1.61
--- src/sys/arch/atari/dev/atari5380.c:1.60	Mon Mar 24 18:39:57 2014
+++ src/sys/arch/atari/dev/atari5380.c	Sat Jul  5 09:36:49 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: atari5380.c,v 1.60 2014/03/24 18:39:57 christos Exp $	*/
+/*	$NetBSD: atari5380.c,v 1.61 2014/07/05 09:36:49 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1995 Leo Weppelman.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.60 2014/03/24 18:39:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.61 2014/07/05 09:36:49 tsutsui Exp $");
 
 #include "opt_atariscsi.h"
 
@@ -731,9 +731,8 @@ scsi_falcon_idisable(void)
 static inline void
 scsi_falcon_clr_ipend(void)
 {
-	int tmp;
 
-	tmp = get_falcon_5380_reg(NCR5380_IRCV);
+	(void)get_falcon_5380_reg(NCR5380_IRCV);
 	rem_sicallback((si_farg)ncr_ctrl_intr);
 }
 

Reply via email to