Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
Steffen Klassert
5c1e9f2c 49cc91f9

+1 -2
+1 -2
net/xfrm/xfrm_policy.c
··· 1878 1878 1879 1879 static void xfrm_policy_queue_process(unsigned long arg) 1880 1880 { 1881 - int err = 0; 1882 1881 struct sk_buff *skb; 1883 1882 struct sock *sk; 1884 1883 struct dst_entry *dst; ··· 1940 1941 skb_dst_drop(skb); 1941 1942 skb_dst_set(skb, dst); 1942 1943 1943 - err = dst_output(skb); 1944 + dst_output(skb); 1944 1945 } 1945 1946 1946 1947 out: