Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/zaurus Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/e89345db4fab
branches:  trunk
changeset: 327461:e89345db4fab
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 08 17:05:08 2014 +0000

description:
Remove unused variable

diffstat:

 sys/arch/zaurus/zaurus/kloader_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 55c9e555a5ab -r e89345db4fab sys/arch/zaurus/zaurus/kloader_machdep.c
--- a/sys/arch/zaurus/zaurus/kloader_machdep.c  Sat Mar 08 16:55:38 2014 +0000
+++ b/sys/arch/zaurus/zaurus/kloader_machdep.c  Sat Mar 08 17:05:08 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kloader_machdep.c,v 1.6 2012/01/21 18:56:51 nonaka Exp $       */
+/*     $NetBSD: kloader_machdep.c,v 1.7 2014/03/08 17:05:08 skrll Exp $        */
 
 /*-
  * Copyright (C) 2009-2012 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kloader_machdep.c,v 1.6 2012/01/21 18:56:51 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kloader_machdep.c,v 1.7 2014/03/08 17:05:08 skrll Exp $");
 
 #include "debug_kloader.h"
 
@@ -78,7 +78,7 @@
        extern char KERNEL_BASE_virt[];
        void (*bootinfop)(void *, void *);
        uint32_t *bootmagicp;
-       vaddr_t top, ptr;
+       vaddr_t ptr;
        struct bootinfo *bootinfo;
        struct btinfo_howto *bi_howto;
        struct btinfo_rootdevice *bi_rootdv;
@@ -96,7 +96,7 @@
        memset(bootmagicp, 0, BOOTARGS_BUFSIZ);
        bootinfo = (struct bootinfo *)(bootmagicp + 1);
        bootinfo->nentries = 0;
-       top = ptr = (vaddr_t)bootinfo->info;
+       ptr = (vaddr_t)bootinfo->info;
 
        /* pass to howto for new kernel */
        bi_howto = (struct btinfo_howto *)ptr;



Home | Main Index | Thread Index | Old Index