diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 04:05:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 04:05:09 -0500 |
commit | 6daad37230ab02bb593d179d704079d4b5912bd7 (patch) | |
tree | 42b08ba70a788dea44af80c49584f23d08e12a44 /net/ipv4/ah4.c | |
parent | 69d728baf620839d1a3c874eecac316729f89de4 (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/ipv4/ah4.c')
-rw-r--r-- | net/ipv4/ah4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/ah4.c b/net/ipv4/ah4.c index 3f205181712d..992ecd8662e2 100644 --- a/net/ipv4/ah4.c +++ b/net/ipv4/ah4.c | |||
@@ -293,9 +293,7 @@ static void ah_destroy(struct xfrm_state *x) | |||
293 | return; | 293 | return; |
294 | 294 | ||
295 | kfree(ahp->work_icv); | 295 | kfree(ahp->work_icv); |
296 | ahp->work_icv = NULL; | ||
297 | crypto_free_hash(ahp->tfm); | 296 | crypto_free_hash(ahp->tfm); |
298 | ahp->tfm = NULL; | ||
299 | kfree(ahp); | 297 | kfree(ahp); |
300 | } | 298 | } |
301 | 299 | ||