Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127161
b: refs/heads/master
c: ecae934
h: refs/heads/master
i:
  127159: b48633d
v: v3
  • Loading branch information
Alexey Dobriyan committed Jan 5, 2009
1 parent d6d78d0 commit 2b19e41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: b4df2b92d8461444fac429c75ba6e125c63056bc
refs/heads/master: ecae934edc0c29ec7405da18855004c317de26c6
4 changes: 0 additions & 4 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,8 +1186,6 @@ static int sched_show(struct seq_file *m, void *v)
struct inode *inode = m->private;
struct task_struct *p;

WARN_ON(!inode);

p = get_proc_task(inode);
if (!p)
return -ESRCH;
Expand All @@ -1205,8 +1203,6 @@ sched_write(struct file *file, const char __user *buf,
struct inode *inode = file->f_path.dentry->d_inode;
struct task_struct *p;

WARN_ON(!inode);

p = get_proc_task(inode);
if (!p)
return -ESRCH;
Expand Down

0 comments on commit 2b19e41

Please sign in to comment.