CAPABILITIES: remove undefined caps from all processes
[cascardo/linux.git] / net / sched / sch_sfq.c
index 87317ff..1af2f73 100644 (file)
@@ -716,12 +716,7 @@ static void *sfq_alloc(size_t sz)
 
 static void sfq_free(void *addr)
 {
-       if (addr) {
-               if (is_vmalloc_addr(addr))
-                       vfree(addr);
-               else
-                       kfree(addr);
-       }
+       kvfree(addr);
 }
 
 static void sfq_destroy(struct Qdisc *sch)