Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370071
b: refs/heads/master
c: 8e0bcc7
h: refs/heads/master
i:
  370069: e11aef1
  370067: db5d64e
  370063: c66ab21
v: v3
  • Loading branch information
Al Viro committed Apr 29, 2013
1 parent 4c76539 commit 1d973b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: e84cb41eb008fb42b357c55329c345f9a0375237
refs/heads/master: 8e0bcc722289275d5586a08b0d33b737bac2836e
7 changes: 1 addition & 6 deletions trunk/kernel/sched/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,11 @@ static int schedstat_open(struct inode *inode, struct file *file)
return seq_open(file, &schedstat_sops);
}

static int schedstat_release(struct inode *inode, struct file *file)
{
return 0;
};

static const struct file_operations proc_schedstat_operations = {
.open = schedstat_open,
.read = seq_read,
.llseek = seq_lseek,
.release = schedstat_release,
.release = seq_release,
};

static int __init proc_schedstat_init(void)
Expand Down

0 comments on commit 1d973b5

Please sign in to comment.