aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <[email protected]>2014-05-31 10:14:05 -0300
committerChristoph Hellwig <[email protected]>2014-07-25 17:16:55 -0400
commit0e772b33a14a5fd27f1efce6855682323df9f9b8 (patch)
tree5ae69711d038b783a65289bc77cc927d9f89d293 /fs/jbd2/commit.c
parent03a6c3ff3282ee9fa893089304d951e0be93a144 (diff)
bfa: remove useless return variables
This patch remove variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Verified by compilation only. The coccinelle script that find and fixes this issue is: // <smpl> @@ type T; constant C; identifier ret; @@ - T ret = C; ... when != ret when strict return - ret + C ; // </smpl> Signed-off-by: Peter Senna Tschudin <[email protected]> Acked-by: Sudarsana Kalluru <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions