Source-Changes-HG archive

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

[src/trunk]: src/sys/compat Cull unused variables. Sigh.



details:   https://anonhg.NetBSD.org/src/rev/d4dcc70403ef
branches:  trunk
changeset: 542444:d4dcc70403ef
user:      atatat <atatat%NetBSD.org@localhost>
date:      Wed Jan 29 07:00:35 2003 +0000

description:
Cull unused variables.  Sigh.

PS - Cross compilers are cool.

diffstat:

 sys/compat/ibcs2/ibcs2_misc.c     |  6 ++----
 sys/compat/sunos/sunos_misc.c     |  5 ++---
 sys/compat/sunos32/sunos32_misc.c |  5 ++---
 sys/compat/svr4/svr4_misc.c       |  6 ++----
 sys/compat/svr4_32/svr4_32_misc.c |  6 ++----
 sys/compat/ultrix/ultrix_misc.c   |  8 ++------
 6 files changed, 12 insertions(+), 24 deletions(-)

diffs (178 lines):

diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/ibcs2/ibcs2_misc.c
--- a/sys/compat/ibcs2/ibcs2_misc.c     Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/ibcs2/ibcs2_misc.c     Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_misc.c,v 1.62 2003/01/28 21:57:42 atatat Exp $   */
+/*     $NetBSD: ibcs2_misc.c,v 1.63 2003/01/29 07:00:35 atatat Exp $   */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_misc.c,v 1.62 2003/01/28 21:57:42 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_misc.c,v 1.63 2003/01/29 07:00:35 atatat Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1515,9 +1515,7 @@
                syscallarg(int) fd;
                syscallarg(ibcs2_off_t) off;
        } */ *uap = v;
-       struct proc *p = l->l_proc;
        struct sys_mmap_args mm;
-       void *rp;
 
 #define _MAP_NEW       0x80000000 /* XXX why? */
 
diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/sunos/sunos_misc.c
--- a/sys/compat/sunos/sunos_misc.c     Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/sunos/sunos_misc.c     Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_misc.c,v 1.118 2003/01/28 21:57:44 atatat Exp $  */
+/*     $NetBSD: sunos_misc.c,v 1.119 2003/01/29 07:00:37 atatat Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.118 2003/01/28 21:57:44 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.119 2003/01/29 07:00:37 atatat Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfsserver.h"
@@ -612,7 +612,6 @@
        register_t *retval;
 {
        struct sunos_sys_mmap_args *uap = v;
-       struct proc *p = l->l_proc;
        struct sys_mmap_args ouap;
 
        /*
diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/sunos32/sunos32_misc.c
--- a/sys/compat/sunos32/sunos32_misc.c Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/sunos32/sunos32_misc.c Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos32_misc.c,v 1.16 2003/01/28 21:57:45 atatat Exp $ */
+/*     $NetBSD: sunos32_misc.c,v 1.17 2003/01/29 07:00:38 atatat Exp $ */
 /* from :NetBSD: sunos_misc.c,v 1.107 2000/12/01 19:25:10 jdolecek Exp */
 
 /*
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.16 2003/01/28 21:57:45 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.17 2003/01/29 07:00:38 atatat Exp $");
 
 #define COMPAT_SUNOS 1
 
@@ -837,7 +837,6 @@
                syscallarg(int) fd;
                syscallarg(netbsd32_long) pos;
        } */ *uap = v;
-       struct proc *p = l->l_proc;
        struct sys_mmap_args ua;
        void *rt;
        int error;
diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/svr4/svr4_misc.c
--- a/sys/compat/svr4/svr4_misc.c       Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/svr4/svr4_misc.c       Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_misc.c,v 1.100 2003/01/28 21:57:45 atatat Exp $    */
+/*     $NetBSD: svr4_misc.c,v 1.101 2003/01/29 07:00:39 atatat Exp $    */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.100 2003/01/28 21:57:45 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.101 2003/01/29 07:00:39 atatat Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -523,7 +523,6 @@
 {
        struct svr4_sys_mmap_args       *uap = v;
        struct sys_mmap_args     mm;
-       void            *rp;
        /*
          * Verify the arguments.
          */
@@ -554,7 +553,6 @@
 {
        struct svr4_sys_mmap64_args     *uap = v;
        struct sys_mmap_args     mm;
-       void            *rp;
        /*
          * Verify the arguments.
          */
diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/svr4_32/svr4_32_misc.c
--- a/sys/compat/svr4_32/svr4_32_misc.c Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/svr4_32/svr4_32_misc.c Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_misc.c,v 1.15 2003/01/28 21:57:46 atatat Exp $  */
+/*     $NetBSD: svr4_32_misc.c,v 1.16 2003/01/29 07:00:40 atatat Exp $  */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.15 2003/01/28 21:57:46 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.16 2003/01/29 07:00:40 atatat Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -524,7 +524,6 @@
        register_t *retval;
 {
        struct svr4_32_sys_mmap_args    *uap = v;
-       struct proc *p = l->l_proc;
        struct sys_mmap_args             mm;
        void                            *rp;
        int                              error;
@@ -564,7 +563,6 @@
 {
        struct svr4_32_sys_mmap64_args  *uap = v;
        struct sys_mmap_args             mm;
-       struct proc                     *p = l->l_proc;
        void                            *rp;
        int                              error;
        /*
diff -r 9954b08caf47 -r d4dcc70403ef sys/compat/ultrix/ultrix_misc.c
--- a/sys/compat/ultrix/ultrix_misc.c   Wed Jan 29 05:39:41 2003 +0000
+++ b/sys/compat/ultrix/ultrix_misc.c   Wed Jan 29 07:00:35 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_misc.c,v 1.82 2003/01/28 21:57:47 atatat Exp $  */
+/*     $NetBSD: ultrix_misc.c,v 1.83 2003/01/29 07:00:40 atatat Exp $  */
 
 /*
  * Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_misc.c,v 1.82 2003/01/28 21:57:47 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_misc.c,v 1.83 2003/01/29 07:00:40 atatat Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfsserver.h"
@@ -331,11 +331,7 @@
        register_t *retval;
 {
        struct ultrix_sys_mmap_args *uap = v;
-       struct proc *p = l->l_proc;
        struct sys_mmap_args ouap;
-       struct filedesc *fdp;
-       struct file *fp;
-       struct vnode *vp;
 
        /*
         * Verify the arguments.



Home | Main Index | Thread Index | Old Index