projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cc91f
)
xfrm: fix set but not used warning in xfrm_policy_queue_process()
author
Fabian Frederick
<fabf@skynet.be>
Sat, 25 Oct 2014 15:27:09 +0000
(17:27 +0200)
committer
Steffen Klassert
<steffen.klassert@secunet.com>
Mon, 27 Oct 2014 06:16:46 +0000
(07:16 +0100)
err was set but unused.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c
patch
|
blob
|
blame
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index 4c4e457e788861a1255dc654cc4d4eec80c22fda..dc653249e845c72531c2cf2acc7b0d1a99b0f4fc 100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-1878,7
+1878,6
@@
xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols,
static void xfrm_policy_queue_process(unsigned long arg)
{
- int err = 0;
struct sk_buff *skb;
struct sock *sk;
struct dst_entry *dst;
@@
-1941,7
+1940,7
@@
static void xfrm_policy_queue_process(unsigned long arg)
skb_dst_drop(skb);
skb_dst_set(skb, dst);
-
err =
dst_output(skb);
+ dst_output(skb);
}
out: