]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/em_meta.c
[PKT_SCHED] HTB: initialize upper bound properly
[linux-2.6-omap-h63xx.git] / net / sched / em_meta.c
index cf68a59fdc5a4d4d6ac2bfbd5b63f99cd4574cee..698372954f4db614e50b774467ce78788fa7d58b 100644 (file)
@@ -58,7 +58,6 @@
  *           only available if that subsytem is enabled in the kernel.
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
@@ -561,8 +560,7 @@ static int meta_var_change(struct meta_value *dst, struct rtattr *rta)
 
 static void meta_var_destroy(struct meta_value *v)
 {
-       if (v->val)
-               kfree((void *) v->val);
+       kfree((void *) v->val);
 }
 
 static void meta_var_apply_extras(struct meta_value *v,