diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-25 11:27:09 -0400 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-10-27 02:16:46 -0400 |
commit | 5c1e9f2c1ff7ed91c03906e0bf1d7fbbddae3970 (patch) | |
tree | e8020e832713fc0dfa80883f57b0da966b250e03 /net/xfrm | |
parent | 49cc91f919e2a94df8c9f99aae9b405444e88624 (diff) |
xfrm: fix set but not used warning in xfrm_policy_queue_process()
err was set but unused.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 4c4e457e7888..dc653249e845 100644 --- 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, | |||
1878 | 1878 | ||
1879 | static void xfrm_policy_queue_process(unsigned long arg) | 1879 | static void xfrm_policy_queue_process(unsigned long arg) |
1880 | { | 1880 | { |
1881 | int err = 0; | ||
1882 | struct sk_buff *skb; | 1881 | struct sk_buff *skb; |
1883 | struct sock *sk; | 1882 | struct sock *sk; |
1884 | struct dst_entry *dst; | 1883 | struct dst_entry *dst; |
@@ -1941,7 +1940,7 @@ static void xfrm_policy_queue_process(unsigned long arg) | |||
1941 | skb_dst_drop(skb); | 1940 | skb_dst_drop(skb); |
1942 | skb_dst_set(skb, dst); | 1941 | skb_dst_set(skb, dst); |
1943 | 1942 | ||
1944 | err = dst_output(skb); | 1943 | dst_output(skb); |
1945 | } | 1944 | } |
1946 | 1945 | ||
1947 | out: | 1946 | out: |