aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/src
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-24 13:36:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-24 13:36:46 +0000
commitb585d590963b9204bf88b10058b18e73219c0a07 (patch)
tree554d72e53067ad53ce55e6348cf2c8c6a90b6d16 /package/broadcom-wl/src
parent74db55a98218a14b360a1e0747759f5cdaba1d1d (diff)
downloadupstream-b585d590963b9204bf88b10058b18e73219c0a07.tar.gz
upstream-b585d590963b9204bf88b10058b18e73219c0a07.tar.bz2
upstream-b585d590963b9204bf88b10058b18e73219c0a07.zip
broadcom-wl: remove an erroneous BUG() call in the glue driver
SVN-Revision: 30709
Diffstat (limited to 'package/broadcom-wl/src')
-rw-r--r--package/broadcom-wl/src/glue/wl_glue.c6
1 files changed, 0 insertions, 6 deletions
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