summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipcomp.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-04-27 10:55:53 +0200
committerJeff Garzik <jeff@garzik.org>2006-04-27 10:55:53 +0200
commit7894eaf291238a62a565e9e9777483beeb00eeae (patch)
tree43c08830d2030d39d719f3f3d54a0e9b36554770 /net/ipv4/ipcomp.c
parentMerge branch 'upstream' (diff)
parentMerge branch 'master' into upstream (diff)
downloadlinux-7894eaf291238a62a565e9e9777483beeb00eeae.tar.xz
linux-7894eaf291238a62a565e9e9777483beeb00eeae.zip
Merge branch 'upstream' into irq-pio
Diffstat (limited to 'net/ipv4/ipcomp.c')
-rw-r--r--net/ipv4/ipcomp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c
index 04a429465665..cd810f41af1a 100644
--- a/net/ipv4/ipcomp.c
+++ b/net/ipv4/ipcomp.c
@@ -290,11 +290,8 @@ static void ipcomp_free_scratches(void)
if (!scratches)
return;
- for_each_possible_cpu(i) {
- void *scratch = *per_cpu_ptr(scratches, i);
- if (scratch)
- vfree(scratch);
- }
+ for_each_possible_cpu(i)
+ vfree(*per_cpu_ptr(scratches, i));
free_percpu(scratches);
}