Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Remove unused macros.



details:   https://anonhg.NetBSD.org/src/rev/87c6a470cf2b
branches:  trunk
changeset: 446893:87c6a470cf2b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Dec 24 16:04:14 2018 +0000

description:
Remove unused macros.

diffstat:

 sys/sys/verified_exec.h |  22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)

diffs (36 lines):

diff -r 01dd6e24e4ae -r 87c6a470cf2b sys/sys/verified_exec.h
--- a/sys/sys/verified_exec.h   Mon Dec 24 15:57:15 2018 +0000
+++ b/sys/sys/verified_exec.h   Mon Dec 24 16:04:14 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: verified_exec.h,v 1.58 2010/11/19 06:44:34 dholland Exp $      */
+/*     $NetBSD: verified_exec.h,v 1.59 2018/12/24 16:04:14 maxv Exp $  */
 
 /*-
  * Copyright (c) 2005, 2006 Elad Efrat <elad%NetBSD.org@localhost>
@@ -77,26 +77,6 @@
 
 #if defined(_KERNEL) && !defined(HAVE_NBTOOL_CONFIG_H)
 
-#if NVERIEXEC > 0
-/* FUTURE: remove this macro entirely - dholland 20100215 */
-#define VERIEXEC_PATH_GET(from, cto, to) \
-       do { \
-                       to = NULL; \
-                       cto = from; \
-               } \
-       } while (/*CONSTCOND*/0)
-#define VERIEXEC_PATH_PUT(to) \
-       do { \
-               (void)(to); \
-       } while (/*CONSTCOND*/0)
-#else
-#define VERIEXEC_PATH_GET(from, cto, to) \
-       cto = from
-#define VERIEXEC_PATH_PUT(to) \
-       (void)to
-       
-#endif
-
 /*
  * Fingerprint operations vector for Veriexec.
  * Function types: init, update, final.



Home | Main Index | Thread Index | Old Index