aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorWeilong Chen <chenweilong@huawei.com>2013-12-23 20:43:49 -0500
committerSteffen Klassert <steffen.klassert@secunet.com>2014-01-02 01:48:50 -0500
commit42054569f9b0da4f9a6cc91709f1a80fa83cb453 (patch)
treea611f4a1a2461c150359ab058500660886f8ae20 /net/xfrm
parent02d0892f98a5f43c86a3ee9dc796e529557a9f80 (diff)
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>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index fbc72b4570de..b5c315e175a0 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1316,9 +1316,9 @@ xfrm_tmpl_resolve_one(struct xfrm_policy *policy, const struct flowi *fl,
1316 error = (x->km.state == XFRM_STATE_ERROR ? 1316 error = (x->km.state == XFRM_STATE_ERROR ?
1317 -EINVAL : -EAGAIN); 1317 -EINVAL : -EAGAIN);
1318 xfrm_state_put(x); 1318 xfrm_state_put(x);
1319 } 1319 } else if (error == -ESRCH) {
1320 else if (error == -ESRCH)
1321 error = -EAGAIN; 1320 error = -EAGAIN;
1321 }
1322 1322
1323 if (!tmpl->optional) 1323 if (!tmpl->optional)
1324 goto fail; 1324 goto fail;