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>
This commit is contained in:
Fabian Frederick 2014-10-25 17:27:09 +02:00 committed by Steffen Klassert
parent 49cc91f919
commit 5c1e9f2c1f

View File

@ -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: