Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen privcmd_ioctl: remove unnecessary variable ...



details:   https://anonhg.NetBSD.org/src/rev/e57cd8acc935
branches:  trunk
changeset: 581402:e57cd8acc935
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Jun 01 12:56:02 2005 +0000

description:
privcmd_ioctl: remove unnecessary variable shadowing.

diffstat:

 sys/arch/xen/xen/privcmd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 310a25247bb8 -r e57cd8acc935 sys/arch/xen/xen/privcmd.c
--- a/sys/arch/xen/xen/privcmd.c        Wed Jun 01 12:32:57 2005 +0000
+++ b/sys/arch/xen/xen/privcmd.c        Wed Jun 01 12:56:02 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: privcmd.c,v 1.3 2005/05/24 12:07:12 yamt Exp $ */
+/* $NetBSD: privcmd.c,v 1.4 2005/06/01 12:56:02 yamt Exp $ */
 
 /*
  *
@@ -33,7 +33,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.3 2005/05/24 12:07:12 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.4 2005/06/01 12:56:02 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -99,7 +99,7 @@
                break;
        case IOCTL_PRIVCMD_MMAP:
        {
-               int i, j, error;
+               int i, j;
                privcmd_mmap_t *mcmd = ap->a_data;
                privcmd_mmap_entry_t mentry;
                vaddr_t va;



Home | Main Index | Thread Index | Old Index