aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 04:05:09 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 04:05:09 -0500
commit6daad37230ab02bb593d179d704079d4b5912bd7 (patch)
tree42b08ba70a788dea44af80c49584f23d08e12a44 /net/ipv6/ah6.c
parent69d728baf620839d1a3c874eecac316729f89de4 (diff)
ah4/ah6: remove useless NULL assignments
struct will be kfreed in a moment, so... Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r--net/ipv6/ah6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index 7a8a01369e5c..13e330d89178 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -509,9 +509,7 @@ static void ah6_destroy(struct xfrm_state *x)
509 return; 509 return;
510 510
511 kfree(ahp->work_icv); 511 kfree(ahp->work_icv);
512 ahp->work_icv = NULL;
513 crypto_free_hash(ahp->tfm); 512 crypto_free_hash(ahp->tfm);
514 ahp->tfm = NULL;
515 kfree(ahp); 513 kfree(ahp);
516} 514}
517 515