staging: lustre: obdclass: llog: 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
a84b7fd5f7
commit
0d0c8b7571
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ int llog_is_empty(const struct lu_env *env, struct llog_ctxt *ctxt,
|
|||
char *name)
|
||||
{
|
||||
struct llog_handle *llh;
|
||||
int rc = 0;
|
||||
int rc;
|
||||
|
||||
rc = llog_open(env, ctxt, &llh, NULL, name, LLOG_OPEN_EXISTS);
|
||||
if (rc < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue