It's assigned twice, but only used to calculate the size of the
structure it points to.  Just remove it and take a sizeof the
actual structure.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
 
 static void esp_ssg_unref(struct xfrm_state *x, void *tmp)
 {
-       struct esp_output_extra *extra = esp_tmp_extra(tmp);
        struct crypto_aead *aead = x->data;
        int extralen = 0;
        u8 *iv;
        struct scatterlist *sg;
 
        if (x->props.flags & XFRM_STATE_ESN)
-               extralen += sizeof(*extra);
+               extralen += sizeof(struct esp_output_extra);
 
-       extra = esp_tmp_extra(tmp);
        iv = esp_tmp_iv(aead, tmp, extralen);
        req = esp_tmp_req(aead, iv);