From ba1ff83059e39e77c43fbc2d5a4c5bc0a641c43a Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 24 Feb 2012 13:36:46 +0000 Subject: [package] broadcom-wl: remove an erroneous BUG() call in the glue driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30709 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-wl/src/glue/wl_glue.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'package/broadcom-wl/src') diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c index 638a65321a..0504232a96 100644 --- a/package/broadcom-wl/src/glue/wl_glue.c +++ b/package/broadcom-wl/src/glue/wl_glue.c @@ -235,12 +235,6 @@ struct device * wl_glue_get_dmadev(void *dev) { struct device *dma_dev; - if (!wl_glue_attached) - { - BUG(); - return NULL; - } - switch (active_bus_type) { #ifdef CONFIG_SSB -- cgit v1.2.3