提交 5c1e9f2c 编写于 作者: F Fabian Frederick 提交者: Steffen Klassert

xfrm: fix set but not used warning in xfrm_policy_queue_process()

err was set but unused.
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com>
上级 49cc91f9
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册