diff options
| author | Sasikantha babu <[email protected]> | 2012-07-30 14:39:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-30 17:25:11 -0700 |
| commit | f1fd75bfa07822b1de314062baff3280419a8bf4 (patch) | |
| tree | 7f5b234b6554dfa1459c32e3f941b3481700b044 /tools/perf/scripts/python | |
| parent | 6c4088ac3a4d82779903433bcd5f048c58fb1aca (diff) | |
prctl: remove redunant assignment of "error" to zero
Just setting the "error" to error number is enough on failure and It
doesn't require to set "error" variable to zero in each switch case,
since it was already initialized with zero. And also removed return 0
in switch case with break statement
Signed-off-by: Sasikantha babu <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Serge E. Hallyn <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions