diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-13 00:16:54 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-23 20:25:56 -0500 |
commit | 5b774ec296657f219890adb274e7455ec2e21af6 (patch) | |
tree | 2cdbdb4b2c0f29289aeb6528ac444acc5fbe7363 /drivers/staging/rtl8192e/rtl_core.c | |
parent | e755463c216b76f07692a83c6cd7197fa31e5d89 (diff) | |
download | op-kernel-dev-5b774ec296657f219890adb274e7455ec2e21af6.zip op-kernel-dev-5b774ec296657f219890adb274e7455ec2e21af6.tar.gz |
staging: rtl8192e: Remove references to ENABLE_GPIO_RADIO_CTL
This configuration variable is set in the make file.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl_core.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl_core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index db3c649..062e19b 100644 --- a/drivers/staging/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl_core.c @@ -1037,11 +1037,9 @@ int _rtl8192_sta_up(struct net_device *dev,bool is_silent_reset) RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); priv->bfirst_init = false; -#ifdef ENABLE_GPIO_RADIO_CTL if (priv->polling_timer_on == 0){ check_rfctrl_gpio_timer((unsigned long)dev); } -#endif if (priv->rtllib->state != RTLLIB_LINKED) rtllib_softmac_start_protocol(priv->rtllib, 0); @@ -3131,11 +3129,9 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev, } rtl8192_proc_init_one(dev); -#ifdef ENABLE_GPIO_RADIO_CTL if (priv->polling_timer_on == 0){ check_rfctrl_gpio_timer((unsigned long)dev); } -#endif #ifdef CONFIG_RTL_RFKILL if (priv->ops->init_before_adapter_start) { priv->ops->init_before_adapter_start(dev); @@ -3186,11 +3182,9 @@ static void __devexit rtl8192_pci_disconnect(struct pci_dev *pdev) priv = rtllib_priv(dev); -#ifdef ENABLE_GPIO_RADIO_CTL del_timer_sync(&priv->gpio_polling_timer); cancel_delayed_work(&priv->gpio_change_rf_wq); priv->polling_timer_on = 0; -#endif rtl_debug_module_remove(priv); rtl8192_proc_remove_one(dev); rtl8192_down(dev,true); |