Module Name: src
Committed By: ad
Date: Sat May 23 14:44:56 UTC 2009
Modified Files:
src/sys/nfs: nfs_syscalls.c
Log Message:
Remove pointless error check.
To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/sys/nfs/nfs_syscalls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/nfs/nfs_syscalls.c
diff -u src/sys/nfs/nfs_syscalls.c:1.147 src/sys/nfs/nfs_syscalls.c:1.148
--- src/sys/nfs/nfs_syscalls.c:1.147 Fri Apr 10 19:04:14 2009
+++ src/sys/nfs/nfs_syscalls.c Sat May 23 14:44:56 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_syscalls.c,v 1.147 2009/04/10 19:04:14 bouyer Exp $ */
+/* $NetBSD: nfs_syscalls.c,v 1.148 2009/05/23 14:44:56 ad Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.147 2009/04/10 19:04:14 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.148 2009/05/23 14:44:56 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -159,8 +159,6 @@
fd_putfile(nfsdarg.sock);
return (ENOTSOCK);
}
- if (error)
- return (error);
/*
* Get the client address for connected sockets.
*/