Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/dev Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/11479e778fe4
branches:  trunk
changeset: 790677:11479e778fe4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 19 13:28:36 2013 +0000

description:
Remove unused variable.

diffstat:

 sys/arch/hp700/dev/sti_sgc.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 229e026cd2e8 -r 11479e778fe4 sys/arch/hp700/dev/sti_sgc.c
--- a/sys/arch/hp700/dev/sti_sgc.c      Sat Oct 19 13:21:43 2013 +0000
+++ b/sys/arch/hp700/dev/sti_sgc.c      Sat Oct 19 13:28:36 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sti_sgc.c,v 1.21 2011/07/01 18:33:09 dyoung Exp $      */
+/*     $NetBSD: sti_sgc.c,v 1.22 2013/10/19 13:28:36 skrll Exp $       */
 
 /*     $OpenBSD: sti_sgc.c,v 1.38 2009/02/06 22:51:04 miod Exp $       */
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sti_sgc.c,v 1.21 2011/07/01 18:33:09 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sti_sgc.c,v 1.22 2013/10/19 13:28:36 skrll Exp $");
 
 #include "opt_cputype.h"
 
@@ -143,7 +143,7 @@
        struct confargs *ca = aux;
        bus_space_handle_t romh;
        paddr_t rom;
-       uint32_t id, romend;
+       uint32_t id;
        u_char devtype;
        int rv = 0, romunmapped = 0;
 
@@ -197,7 +197,6 @@
        default:
                DPRINTF(("%s: unknown type (%x)\n", __func__, devtype));
                rv = 0;
-               romend = 0;
        }
 
        if (rv &&



Home | Main Index | Thread Index | Old Index