xfrm: fix checkpatch error
Fix that "else should follow close brace '}'". Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
02d0892f98
commit
42054569f9
|
@ -1316,9 +1316,9 @@ xfrm_tmpl_resolve_one(struct xfrm_policy *policy, const struct flowi *fl,
|
|||
error = (x->km.state == XFRM_STATE_ERROR ?
|
||||
-EINVAL : -EAGAIN);
|
||||
xfrm_state_put(x);
|
||||
}
|
||||
else if (error == -ESRCH)
|
||||
} else if (error == -ESRCH) {
|
||||
error = -EAGAIN;
|
||||
}
|
||||
|
||||
if (!tmpl->optional)
|
||||
goto fail;
|
||||
|
|
Loading…
Reference in New Issue