net: convert BUG_TRAP to generic WARN_ON
[linux-2.6.git] / net / sched / act_api.c
index 74e662c..d308c19 100644 (file)
@@ -41,7 +41,7 @@ void tcf_hash_destroy(struct tcf_common *p, struct tcf_hashinfo *hinfo)
                        return;
                }
        }
-       BUG_TRAP(0);
+       WARN_ON(1);
 }
 EXPORT_SYMBOL(tcf_hash_destroy);