X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=net%2Fipv4%2Fipcomp.c;h=fc718df17b40d9b1a0719d39798331cf30a2fca3;hb=c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3;hp=dcb7ee6c4858c4395444b7cb83c9f29a73823091;hpb=66f3767376e2bbffb4c2c78ea171e1fdcb62201b;p=sfrench%2Fcifs-2.6.git diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c index dcb7ee6c4858..fc718df17b40 100644 --- a/net/ipv4/ipcomp.c +++ b/net/ipv4/ipcomp.c @@ -345,8 +345,7 @@ static void ipcomp_free_tfms(struct crypto_tfm **tfms) for_each_cpu(cpu) { struct crypto_tfm *tfm = *per_cpu_ptr(tfms, cpu); - if (tfm) - crypto_free_tfm(tfm); + crypto_free_tfm(tfm); } free_percpu(tfms); }