diff options
author | Luca Wehrstedt <[email protected]> | 2015-04-02 16:33:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-04-03 12:35:28 +0200 |
commit | 21c25a9ff87502e74130b568c102802b27891f1b (patch) | |
tree | 76005a2ebe6f4111f9d40c1f26a73e23ca8edb8d | |
parent | 0b0033a15f6fe79015eea477c4e7b4c2ff4357c5 (diff) |
Staging: lustre: lov_io.c: remove useless unary pluses
Replace two occurrences of "+1" with simply "1".
Signed-off-by: Luca Wehrstedt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/lustre/lov/lov_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/lov/lov_io.c b/drivers/staging/lustre/lustre/lov/lov_io.c index f1f6db3f664a..fcd8bae6d2dc 100644 --- a/drivers/staging/lustre/lustre/lov/lov_io.c +++ b/drivers/staging/lustre/lustre/lov/lov_io.c @@ -391,7 +391,7 @@ static int lov_io_iter_init(const struct lu_env *env, endpos, &start, &end)) continue; - end = lov_offset_mod(end, +1); + end = lov_offset_mod(end, 1); sub = lov_sub_get(env, lio, stripe); if (!IS_ERR(sub)) { lov_io_sub_inherit(sub->sub_io, lio, stripe, @@ -913,7 +913,7 @@ int lov_io_init_empty(const struct lu_env *env, struct cl_object *obj, break; case CIT_FSYNC: case CIT_SETATTR: - result = +1; + result = 1; break; case CIT_WRITE: result = -EBADF; |