]> err.no Git - linux-2.6/commitdiff
Removed PF_SYNCTHREAD legacy.
authorJames Ketrenos <jketreno@linux.intel.com>
Wed, 7 Sep 2005 23:39:03 +0000 (18:39 -0500)
committerJames Ketrenos <jketreno@linux.intel.com>
Mon, 7 Nov 2005 23:51:39 +0000 (17:51 -0600)
The PF_SYNCTHREAD check was introduced to try and remain compatible with
SWSUSP2.  This check is no longer needed with newer versions.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
drivers/net/wireless/ipw2100.c

index 83ba08c0c33c6c958361777e01ea9c8e9ca098cd..23a74accd50ac63fae67988e153fd6c9f015fcf0 100644 (file)
@@ -6433,11 +6433,8 @@ static struct net_device *ipw2100_alloc_device(struct pci_dev *pci_dev,
        INIT_LIST_HEAD(&priv->fw_pend_list);
        INIT_STAT(&priv->fw_pend_stat);
 
-#ifdef PF_SYNCTHREAD
-       priv->workqueue = create_workqueue(DRV_NAME, 0);
-#else
        priv->workqueue = create_workqueue(DRV_NAME);
-#endif
+
        INIT_WORK(&priv->reset_work,
                  (void (*)(void *))ipw2100_reset_adapter, priv);
        INIT_WORK(&priv->security_work,