Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Remove unused LIMITCHECK() macro (now co...



details:   https://anonhg.NetBSD.org/src/rev/cbaca5770c51
branches:  trunk
changeset: 979852:cbaca5770c51
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jan 15 03:51:41 2021 +0000

description:
Remove unused LIMITCHECK() macro (now contained in netbsd32_rlimit.c).

diffstat:

 sys/compat/netbsd32/netbsd32_netbsd.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 09bbd499b110 -r cbaca5770c51 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c     Fri Jan 15 00:38:22 2021 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c     Fri Jan 15 03:51:41 2021 +0000
@@ -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 syscall(void);
 #endif
 
-#define LIMITCHECK(a, b) ((a) != RLIM_INFINITY && (a) > (b))
-
 #ifdef MODULAR
 #include <compat/netbsd32/netbsd32_syscalls_autoload.c>
 #endif



Home | Main Index | Thread Index | Old Index