Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257148
b: refs/heads/master
c: 9985c20
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Ingo Molnar committed Jul 21, 2011
1 parent daf7045 commit 432e01a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: f53173e47dee5f7514d264796bec58d43ed0f67f
refs/heads/master: 9985c20f9e4aee6857c08246b273a3695a52b929
7 changes: 0 additions & 7 deletions trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5926,13 +5926,6 @@ static int perf_copy_attr(struct perf_event_attr __user *uattr,
if (ret)
return -EFAULT;

/*
* If the type exists, the corresponding creation will verify
* the attr->config.
*/
if (attr->type >= PERF_TYPE_MAX)
return -EINVAL;

if (attr->__reserved_1)
return -EINVAL;

Expand Down

0 comments on commit 432e01a

Please sign in to comment.