aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2013-08-13 03:09:00 +0000
committerMark Johnston <markj@FreeBSD.org>2013-08-13 03:09:00 +0000
commit9c6139e411bb55fae4d7449b71bb06059d9ee090 (patch)
tree9d7a52fff7644e46986c8edd816c5574f9827be3
parentc9b645b50be5adebc3bd7927726af474caea6098 (diff)
downloadsrc-9c6139e411bb55fae4d7449b71bb06059d9ee090.tar.gz
src-9c6139e411bb55fae4d7449b71bb06059d9ee090.zip
Remove some unused fields from struct linker_file. They were added in
r172862 for use by the DTrace SDT framework but don't seem to have ever been used. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=254267
-rw-r--r--sys/kern/kern_linker.c2
-rw-r--r--sys/sys/linker.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 883752b613d1..9a4c4db9cb4b 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -583,8 +583,6 @@ linker_make_file(const char *pathname, linker_class_t lc)
lf->ndeps = 0;
lf->deps = NULL;
lf->loadcnt = ++loadcnt;
- lf->sdt_probes = NULL;
- lf->sdt_nprobes = 0;
STAILQ_INIT(&lf->common);
TAILQ_INIT(&lf->modules);
TAILQ_INSERT_TAIL(&linker_files, lf, link);
diff --git a/sys/sys/linker.h b/sys/sys/linker.h
index 8ea140f7788b..b2942f206243 100644
--- a/sys/sys/linker.h
+++ b/sys/sys/linker.h
@@ -92,10 +92,6 @@ struct linker_file {
*/
int nenabled; /* number of enabled probes. */
int fbt_nentries; /* number of fbt entries created. */
- void *sdt_probes;
- int sdt_nentries;
- size_t sdt_nprobes;
- size_t sdt_size;
};
/*