From db09a31e474b6edfc05b81d25b02d14a608d4949 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Thu, 2 Aug 2012 03:18:21 +0100 Subject: dtrace: Remove CTF label checking It is incomplete, and was pulled into smartos as a result of miscommunication. --- usr/src/uts/sparc/dtrace/fbt.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'usr/src/uts/sparc') diff --git a/usr/src/uts/sparc/dtrace/fbt.c b/usr/src/uts/sparc/dtrace/fbt.c index 2497322684..58169bac81 100644 --- a/usr/src/uts/sparc/dtrace/fbt.c +++ b/usr/src/uts/sparc/dtrace/fbt.c @@ -1657,11 +1657,6 @@ fbt_getargdesc(void *arg, dtrace_id_t id, void *parg, dtrace_argdesc_t *desc) if ((pfp = ctf_modopen(mod->mod_mp, &error)) == NULL) goto err; - if (strcmp(ctf_label_topmost(pfp), ctf_parent_label(fp)) != 0) { - ctf_close(pfp); - goto err; - } - if (ctf_import(fp, pfp) != 0) { ctf_close(pfp); goto err; -- cgit v1.2.3