Module Name: src
Committed By: simonb
Date: Fri Jan 15 03:51:41 UTC 2021
Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c
Log Message:
Remove unused LIMITCHECK() macro (now contained in netbsd32_rlimit.c).
To generate a diff of this commit:
cvs rdiff -u -r1.230 -r1.231 src/sys/compat/netbsd32/netbsd32_netbsd.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/compat/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.230 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.231
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.230 Sat Oct 10 00:00:54 2020
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c Fri Jan 15 03:51:41 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_netbsd.c,v 1.230 2020/10/10 00:00:54 rin Exp $ */
+/* $NetBSD: netbsd32_netbsd.c,v 1.231 2021/01/15 03:51:41 simonb Exp $ */
/*
* Copyright (c) 1998, 2001, 2008, 2018 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.230 2020/10/10 00:00:54 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.231 2021/01/15 03:51:41 simonb Exp $");
/*
* below are all the standard NetBSD system calls, in the 32bit
@@ -109,8 +109,6 @@ void netbsd32_syscall_intern(struct proc
void syscall(void);
#endif
-#define LIMITCHECK(a, b) ((a) != RLIM_INFINITY && (a) > (b))
-
#ifdef MODULAR
#include <compat/netbsd32/netbsd32_syscalls_autoload.c>
#endif