summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSasikantha babu <sasikanth.v19@gmail.com>2012-07-30 23:39:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 02:25:11 +0200
commitf1fd75bfa07822b1de314062baff3280419a8bf4 (patch)
tree7f5b234b6554dfa1459c32e3f941b3481700b044 /fs
parentpcdp: use early_ioremap/early_iounmap to access pcdp table (diff)
downloadlinux-f1fd75bfa07822b1de314062baff3280419a8bf4.tar.xz
linux-f1fd75bfa07822b1de314062baff3280419a8bf4.zip
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 <sasikanth.v19@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Acked-by: Serge E. Hallyn <serge@hallyn.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions