Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove unused ppr_able variable.



details:   https://anonhg.NetBSD.org/src/rev/67e2b7680772
branches:  trunk
changeset: 789876:67e2b7680772
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 11:23:37 2013 +0000

description:
Remove unused ppr_able variable.

diffstat:

 sys/dev/ic/adwlib.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 538fe267ea72 -r 67e2b7680772 sys/dev/ic/adwlib.c
--- a/sys/dev/ic/adwlib.c       Thu Sep 12 07:26:13 2013 +0000
+++ b/sys/dev/ic/adwlib.c       Thu Sep 12 11:23:37 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adwlib.c,v 1.40 2010/11/13 13:52:00 uebayasi Exp $        */
+/* $NetBSD: adwlib.c,v 1.41 2013/09/12 11:23:37 martin Exp $        */
 
 /*
  * Low level routines for the Advanced Systems Inc. SCSI controllers chips
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adwlib.c,v 1.40 2010/11/13 13:52:00 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adwlib.c,v 1.41 2013/09/12 11:23:37 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -551,7 +551,7 @@
        int             i;
        u_int16_t       bios_mem[ADW_MC_BIOSLEN/2];     /* BIOS RISC Memory
                                                                0x40-0x8F. */
-       u_int16_t       wdtr_able = 0, sdtr_able, ppr_able, tagqng_able;
+       u_int16_t       wdtr_able = 0, sdtr_able, /* ppr_able, */ tagqng_able;
        u_int8_t        max_cmd[ADW_MAX_TID + 1];
        u_int8_t        tid;
 
@@ -597,7 +597,7 @@
                break;
 
        case ADW_CHIP_ASC38C1600:
-               ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_PPR_ABLE, ppr_able);
+               /* ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_PPR_ABLE, ppr_able); */
                /* FALLTHROUGH */
        case ADW_CHIP_ASC38C0800:
                ADW_READ_WORD_LRAM(iot, ioh, ADW_MC_WDTR_ABLE, wdtr_able);



Home | Main Index | Thread Index | Old Index