linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / net / eql.c
index 815436c..aa15691 100644 (file)
@@ -203,7 +203,8 @@ static int eql_open(struct net_device *dev)
        printk(KERN_INFO "%s: remember to turn off Van-Jacobson compression on "
               "your slave devices.\n", dev->name);
 
-       BUG_ON(!list_empty(&eql->queue.all_slaves));
+       if (!list_empty(&eql->queue.all_slaves))
+               BUG();
 
        eql->min_slaves = 1;
        eql->max_slaves = EQL_DEFAULT_MAX_SLAVES; /* 4 usually... */