aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-08 15:46:26 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-06-11 06:30:19 -0400
commit16eafba8defcd507831eec926b61db474af0aabb (patch)
treed9350c8f76d700afa26fcb5e4aad8942594a9fd2 /drivers
parente9a6b45be580d648ed2f21646214733504bd4d6f (diff)
wimax/i2400m: i2400m_schedule_work() doesn't need i2400m->work_queue
By mistake, the BUG_ON() check was left in there and it will fail when called if i2400m->work_queue is still not setup. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wimax/i2400m/driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/driver.c b/drivers/net/wimax/i2400m/driver.c
index 006eb1233a8b..897794c9209e 100644
--- a/drivers/net/wimax/i2400m/driver.c
+++ b/drivers/net/wimax/i2400m/driver.c
@@ -180,7 +180,6 @@ int i2400m_schedule_work(struct i2400m *i2400m,
180 int result; 180 int result;
181 struct i2400m_work *iw; 181 struct i2400m_work *iw;
182 182
183 BUG_ON(i2400m->work_queue == NULL);
184 result = -ENOMEM; 183 result = -ENOMEM;
185 iw = kzalloc(sizeof(*iw), gfp_flags); 184 iw = kzalloc(sizeof(*iw), gfp_flags);
186 if (iw == NULL) 185 if (iw == NULL)