Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/477c4d27ef0a
branches: trunk
changeset: 790009:477c4d27ef0a
user: martin <martin%NetBSD.org@localhost>
date: Sat Sep 14 22:27:01 2013 +0000
description:
Remove unused variable
diffstat:
sys/nfs/nfs_vfsops.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r a42ffbfb5684 -r 477c4d27ef0a sys/nfs/nfs_vfsops.c
--- a/sys/nfs/nfs_vfsops.c Sat Sep 14 21:52:49 2013 +0000
+++ b/sys/nfs/nfs_vfsops.c Sat Sep 14 22:27:01 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_vfsops.c,v 1.221 2013/01/22 09:39:14 dholland Exp $ */
+/* $NetBSD: nfs_vfsops.c,v 1.222 2013/09/14 22:27:01 martin Exp $ */
/*
* Copyright (c) 1989, 1993, 1995
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.221 2013/01/22 09:39:14 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.222 2013/09/14 22:27:01 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfs.h"
@@ -596,14 +596,12 @@
struct sockaddr *sa;
struct vnode *vp;
char *pth, *hst;
- struct proc *p;
size_t len;
u_char *nfh;
if (*data_len < sizeof *args)
return EINVAL;
- p = l->l_proc;
if (mp->mnt_flag & MNT_GETARGS) {
if (nmp == NULL)
Home |
Main Index |
Thread Index |
Old Index