]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
wimax/i2400m: i2400m_schedule_work() doesn't need i2400m->work_queue
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Fri, 8 May 2009 19:46:26 +0000 (12:46 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 10:30:19 +0000 (03:30 -0700)
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>
drivers/net/wimax/i2400m/driver.c

index 006eb1233a8b3af658128f524d12fb3354849672..897794c9209ebb03dfe2e5d66380b1c70eef2848 100644 (file)
@@ -180,7 +180,6 @@ int i2400m_schedule_work(struct i2400m *i2400m,
        int result;
        struct i2400m_work *iw;
 
-       BUG_ON(i2400m->work_queue == NULL);
        result = -ENOMEM;
        iw = kzalloc(sizeof(*iw), gfp_flags);
        if (iw == NULL)