mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
staging: lustre: osc: drop trivially useless initialization
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f82ced5d6b
commit
53a0d48687
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ static int osc_page_flush(const struct lu_env *env,
|
|||
struct cl_io *io)
|
||||
{
|
||||
struct osc_page *opg = cl2osc_page(slice);
|
||||
int rc = 0;
|
||||
int rc;
|
||||
|
||||
rc = osc_flush_async_page(env, io, opg);
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue