Small fix removing an unnecessary intermediate variable.

Signed-off-by: Jean-Christophe DUBOIS  <[EMAIL PROTECTED]>
---

diff -Naur linux-2.6.26.2.org/net/xfrm/xfrm_output.c 
linux-2.6.26.2/net/xfrm/xfrm_output.c
--- linux-2.6.26.2.org/net/xfrm/xfrm_output.c   2008-08-12 00:37:29.000000000 
+0200
+++ linux-2.6.26.2/net/xfrm/xfrm_output.c       2008-08-12 00:40:40.000000000 
+0200
@@ -112,16 +112,13 @@
 int xfrm_output_resume(struct sk_buff *skb, int err)
 {
        while (likely((err = xfrm_output_one(skb, err)) == 0)) {
-               struct xfrm_state *x;
-
                nf_reset(skb);

                err = skb->dst->ops->local_out(skb);
                if (unlikely(err != 1))
                        goto out;

-               x = skb->dst->xfrm;
-               if (!x)
+               if (!skb->dst->xfrm)
                        return dst_output(skb);

                err = nf_hook(skb->dst->ops->family,
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to