diff options
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/uprobes.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index ba6acfe7c0de..093866547fe3 100644 --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c | |||
@@ -501,9 +501,6 @@ __copy_insn(struct address_space *mapping, struct file *filp, char *insn, | |||
501 | { | 501 | { |
502 | struct page *page; | 502 | struct page *page; |
503 | 503 | ||
504 | if (!filp) | ||
505 | return -EINVAL; | ||
506 | |||
507 | if (!mapping->a_ops->readpage) | 504 | if (!mapping->a_ops->readpage) |
508 | return -EIO; | 505 | return -EIO; |
509 | /* | 506 | /* |