aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-03-17 18:55:54 +0000
committerMark Johnston <markj@FreeBSD.org>2016-03-17 18:55:54 +0000
commit48cc2d5e22611c835382b77ce02b1f63e75cc6b9 (patch)
tree7beebc6a1fcd1a0d7f17f15d073501bc9a1e5638
parent6203e46b8434fc5fb1034188d0d3e92d5944632e (diff)
downloadsrc-48cc2d5e22611c835382b77ce02b1f63e75cc6b9.tar.gz
src-48cc2d5e22611c835382b77ce02b1f63e75cc6b9.zip
Remove unused variables dtrace_in_probe and dtrace_in_probe_addr.
Notes
Notes: svn path=/head/; revision=296990
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c4
-rw-r--r--sys/cddl/dev/dtrace/aarch64/dtrace_subr.c2
-rw-r--r--sys/cddl/dev/dtrace/amd64/dtrace_subr.c3
-rw-r--r--sys/cddl/dev/dtrace/arm/dtrace_subr.c2
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_subr.c2
-rw-r--r--sys/cddl/dev/dtrace/mips/dtrace_subr.c2
-rw-r--r--sys/cddl/dev/dtrace/powerpc/dtrace_subr.c2
7 files changed, 0 insertions, 17 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
index d3bce0e7ae54..7ec7dfdeaf99 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
@@ -246,10 +246,6 @@ static int dtrace_dynvar_failclean; /* dynvars failed to clean */
#ifndef illumos
static struct mtx dtrace_unr_mtx;
MTX_SYSINIT(dtrace_unr_mtx, &dtrace_unr_mtx, "Unique resource identifier", MTX_DEF);
-int dtrace_in_probe; /* non-zero if executing a probe */
-#if defined(__i386__) || defined(__amd64__) || defined(__mips__) || defined(__powerpc__)
-uintptr_t dtrace_in_probe_addr; /* Address of invop when already in probe */
-#endif
static eventhandler_tag dtrace_kld_load_tag;
static eventhandler_tag dtrace_kld_unload_try_tag;
#endif
diff --git a/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c b/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
index 9cf5bc4247cd..78b56376ec23 100644
--- a/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
@@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$");
#include <machine/trap.h>
#include <vm/pmap.h>
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);
extern void dtrace_getnanotime(struct timespec *tsp);
diff --git a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
index 7f2ec7ee526b..f6577d5bcd9a 100644
--- a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c
@@ -44,9 +44,6 @@
#include <machine/frame.h>
#include <vm/pmap.h>
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
-
extern void dtrace_getnanotime(struct timespec *tsp);
int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t);
diff --git a/sys/cddl/dev/dtrace/arm/dtrace_subr.c b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
index 2aea13e4103a..44dde295265f 100644
--- a/sys/cddl/dev/dtrace/arm/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/arm/dtrace_subr.c
@@ -51,8 +51,6 @@ __FBSDID("$FreeBSD$");
#define BIT_LR 14
#define BIT_SP 13
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);
extern void dtrace_getnanotime(struct timespec *tsp);
diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
index 814019e1b4c5..be5bd4b9dce5 100644
--- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c
@@ -46,8 +46,6 @@
#include <vm/pmap.h>
extern uintptr_t kernelbase;
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
extern void dtrace_getnanotime(struct timespec *tsp);
diff --git a/sys/cddl/dev/dtrace/mips/dtrace_subr.c b/sys/cddl/dev/dtrace/mips/dtrace_subr.c
index 4f13b9869348..a2aa8c7e3321 100644
--- a/sys/cddl/dev/dtrace/mips/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/mips/dtrace_subr.c
@@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$");
#define DELAYBRANCH(x) ((int)(x) < 0)
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
int dtrace_invop(uintptr_t, uintptr_t *, uintptr_t);
diff --git a/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c b/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c
index c0360fd413a1..33b9e7120cb0 100644
--- a/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c
+++ b/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c
@@ -46,8 +46,6 @@ __FBSDID("$FreeBSD$");
#define DELAYBRANCH(x) ((int)(x) < 0)
-extern uintptr_t dtrace_in_probe_addr;
-extern int dtrace_in_probe;
extern dtrace_id_t dtrace_probeid_error;
extern int (*dtrace_invop_jump_addr)(struct trapframe *);