diff --git a/[refs] b/[refs] index b9937d3c3aef..a893a23b8403 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b4df2b92d8461444fac429c75ba6e125c63056bc +refs/heads/master: ecae934edc0c29ec7405da18855004c317de26c6 diff --git a/trunk/fs/proc/base.c b/trunk/fs/proc/base.c index cad92c1ac2b3..8642623ea798 100644 --- a/trunk/fs/proc/base.c +++ b/trunk/fs/proc/base.c @@ -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; @@ -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;