]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/act_police.c
net: convert BUG_TRAP to generic WARN_ON
[linux-2.6-omap-h63xx.git] / net / sched / act_police.c
index 32c3f9d9fb7ad89d06e3b45fc5c664936e9b56ad..38015b49394755d06cd1cfa56306ea358c968a49 100644 (file)
@@ -116,7 +116,7 @@ static void tcf_police_destroy(struct tcf_police *p)
                        return;
                }
        }
-       BUG_TRAP(0);
+       WARN_ON(1);
 }
 
 static const struct nla_policy police_policy[TCA_POLICE_MAX + 1] = {