Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev Remove unnecessary assignments (for which...



details:   https://anonhg.NetBSD.org/src/rev/4fd06b826925
branches:  trunk
changeset: 532031:4fd06b826925
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 30 20:28:27 2002 +0000

description:
Remove unnecessary assignments (for which the operation may be
undefined).

diffstat:

 sys/arch/amiga/dev/sbic.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r dca934fdadac -r 4fd06b826925 sys/arch/amiga/dev/sbic.c
--- a/sys/arch/amiga/dev/sbic.c Thu May 30 20:03:27 2002 +0000
+++ b/sys/arch/amiga/dev/sbic.c Thu May 30 20:28:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.47 2002/05/30 19:52:52 thorpej Exp $ */
+/*     $NetBSD: sbic.c,v 1.48 2002/05/30 20:28:27 thorpej Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -46,7 +46,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.47 2002/05/30 19:52:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.48 2002/05/30 20:28:27 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1336,7 +1336,7 @@
 
                wait = sbic_cmd_wait;
 
-               asr = GET_SBIC_asr (regs, asr);
+               GET_SBIC_asr (regs, asr);
                GET_SBIC_csr (regs, csr);
                CSR_TRACE('I',csr,asr,target);
                QPRINTF((">ASR:%02xCSR:%02x<", asr, csr));
@@ -1737,7 +1737,7 @@
         * Lets cycle a while then let the interrupt handler take over
         */
 
-       asr = GET_SBIC_asr(regs, asr);
+       GET_SBIC_asr(regs, asr);
        do {
                GET_SBIC_csr(regs, csr);
                CSR_TRACE('g',csr,asr,dev->target);
@@ -1906,7 +1906,7 @@
        recvlen = 1;
        do {
                while( recvlen-- ) {
-                       asr = GET_SBIC_asr(regs, asr);
+                       GET_SBIC_asr(regs, asr);
                        GET_SBIC_csr(regs, csr);
                        QPRINTF(("sbicmsgin ready to go (csr,asr)=(%02x,%02x)\n",
                                 csr, asr));



Home | Main Index | Thread Index | Old Index