Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193890
b: refs/heads/master
c: 7e5ab15
h: refs/heads/master
v: v3
  • Loading branch information
Tom Goff authored and David S. Miller committed Mar 31, 2010
1 parent a1025d4 commit 3cbac49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 9badba2543d165154c540b80e59ff06c1b3e3f76
refs/heads/master: 7e5ab157813993356f021757d0b0dcbdca7c55a1
4 changes: 1 addition & 3 deletions trunk/net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ static int psched_show(struct seq_file *seq, void *v)

static int psched_open(struct inode *inode, struct file *file)
{
return single_open(file, psched_show, PDE(inode)->data);
return single_open(file, psched_show, NULL);
}

static const struct file_operations psched_fops = {
Expand All @@ -1708,8 +1708,6 @@ static int __net_init psched_net_init(struct net *net)
static void __net_exit psched_net_exit(struct net *net)
{
proc_net_remove(net, "psched");

return;
}
#else
static int __net_init psched_net_init(struct net *net)
Expand Down

0 comments on commit 3cbac49

Please sign in to comment.