summaryrefslogtreecommitdiffstats
path: root/runtime/transport/utt.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/transport/utt.c')
-rw-r--r--runtime/transport/utt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/transport/utt.c b/runtime/transport/utt.c
index 915662b2..2dd303a5 100644
--- a/runtime/transport/utt.c
+++ b/runtime/transport/utt.c
@@ -26,7 +26,6 @@
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/debugfs.h>
-#include <linux/relay.h>
#include <linux/mm.h>
#include "utt.h"
@@ -157,7 +156,7 @@ static struct dentry *utt_create_tree(struct utt_trace *utt, const char *root, c
return NULL;
if (!utt->utt_tree_root) {
- utt->utt_tree_root = _stp_get_root_dir(root);
+ utt->utt_tree_root = _stp_get_root_dir();
if (!utt->utt_tree_root)
goto err;
}
@@ -169,7 +168,6 @@ err:
return dir;
}
-
static void utt_trace_cleanup(struct utt_trace *utt)
{
if (utt == NULL)