]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/eql.c
[PATCH] shpchp: Create shpchpd at controller probe time
[linux-2.6-omap-h63xx.git] / drivers / net / eql.c
index aa1569182fd62e86ae01a8f5cf7049d504cc6480..815436c6170f5d707caf8fd67029fa6469ac8fed 100644 (file)
@@ -203,8 +203,7 @@ 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);
 
-       if (!list_empty(&eql->queue.all_slaves))
-               BUG();
+       BUG_ON(!list_empty(&eql->queue.all_slaves));
 
        eql->min_slaves = 1;
        eql->max_slaves = EQL_DEFAULT_MAX_SLAVES; /* 4 usually... */