[DTrace-devel] [PATCH 02/10] Remove dn_reg assignment in dt_node_tstring()

Kris Van Hees kris.van.hees at oracle.com
Fri Mar 18 19:04:25 UTC 2022


Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
---
 libdtrace/dt_parser.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libdtrace/dt_parser.c b/libdtrace/dt_parser.c
index 65509f08..df215337 100644
--- a/libdtrace/dt_parser.c
+++ b/libdtrace/dt_parser.c
@@ -1,6 +1,6 @@
 /*
  * Oracle Linux DTrace.
- * Copyright (c) 2006, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
  * Licensed under the Universal Permissive License v 1.0 as shown at
  * http://oss.oracle.com/licenses/upl.
  */
@@ -2588,7 +2588,6 @@ dt_node_tstring(dt_node_t *fnp, uintmax_t val)
 	dt_node_t *dnp = dt_node_alloc(DT_NODE_TSTRING);
 
 	dnp->dn_value = val;
-	dnp->dn_reg = fnp->dn_reg;
 	fnp->dn_tstring = dnp;
 
 	return dnp;
-- 
2.34.1




More information about the DTrace-devel mailing list