Merge branch 'for-linus' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / net / sched / sch_netem.c
index f1669a0..111d70f 100644 (file)
@@ -648,12 +648,7 @@ static void netem_reset(struct Qdisc *sch)
 
 static void dist_free(struct disttable *d)
 {
-       if (d) {
-               if (is_vmalloc_addr(d))
-                       vfree(d);
-               else
-                       kfree(d);
-       }
+       kvfree(d);
 }
 
 /*