Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158441
b: refs/heads/master
c: 3be04b4
h: refs/heads/master
i:
  158439: be7eb64
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Aug 17, 2009
1 parent 2aacb49 commit 6f671de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fc5f0cff4cf1c4cd336d0f61f11bca6eeee1d84
refs/heads/master: 3be04b471b95b870bd129a138463756629e86f3f
15 changes: 2 additions & 13 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1556,17 +1556,6 @@ ftrace_avail_open(struct inode *inode, struct file *file)
return ret;
}

int ftrace_avail_release(struct inode *inode, struct file *file)
{
struct seq_file *m = (struct seq_file *)file->private_data;
struct ftrace_iterator *iter = m->private;

seq_release(inode, file);
kfree(iter);

return 0;
}

static int
ftrace_failures_open(struct inode *inode, struct file *file)
{
Expand Down Expand Up @@ -2427,14 +2416,14 @@ static const struct file_operations ftrace_avail_fops = {
.open = ftrace_avail_open,
.read = seq_read,
.llseek = seq_lseek,
.release = ftrace_avail_release,
.release = seq_release_private,
};

static const struct file_operations ftrace_failures_fops = {
.open = ftrace_failures_open,
.read = seq_read,
.llseek = seq_lseek,
.release = ftrace_avail_release,
.release = seq_release_private,
};

static const struct file_operations ftrace_filter_fops = {
Expand Down

0 comments on commit 6f671de

Please sign in to comment.