diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-07 18:39:03 -0500 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 17:51:39 -0600 |
commit | 392d0f6d0752e6a3e25c3e3da95d78c53b0fd7a1 (patch) | |
tree | 7af3f936974a169cc86a20f463f83af0f308276c | |
parent | fb7ccc9e6d1a2872ea8a07154f1689d19a7576c5 (diff) | |
download | talos-obmc-linux-392d0f6d0752e6a3e25c3e3da95d78c53b0fd7a1.tar.gz talos-obmc-linux-392d0f6d0752e6a3e25c3e3da95d78c53b0fd7a1.zip |
Removed PF_SYNCTHREAD legacy.
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>
-rw-r--r-- | drivers/net/wireless/ipw2100.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 83ba08c0c33c..23a74accd50a 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -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, |