rtl8188eu: Remove CONFIG_GLOBAL_UI_PID

This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-02 10:35:25 -06:00
parent 7f426e6764
commit e5f09bb52b
4 changed files with 2 additions and 15 deletions

View file

@ -36,9 +36,6 @@
#define CONFIG_SKB_COPY //for amsdu
#define USB_INTERFERENCE_ISSUE // this should be checked in all usb interface
#define CONFIG_GLOBAL_UI_PID
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
#define CONFIG_BR_EXT // Enable NAT2.5 support for STA mode interface with a L2 Bridge

View file

@ -91,9 +91,7 @@ extern int rtw_ht_enable;
extern int rtw_cbw40_enable;
extern int rtw_ampdu_enable;//for enable tx_ampdu
#ifdef CONFIG_GLOBAL_UI_PID
extern int ui_pid[3];
#endif
extern unsigned char MCS_rate_2R[16];
#ifdef CONFIG_DISABLE_MCS13TO15

View file

@ -3456,14 +3456,11 @@ static int rtw_set_pid(struct net_device *dev,
selector = *pdata;
if(selector < 3 && selector >=0) {
padapter->pid[selector] = *(pdata+1);
#ifdef CONFIG_GLOBAL_UI_PID
ui_pid[selector] = *(pdata+1);
#endif
DBG_871X("%s set pid[%d]=%d\n", __FUNCTION__, selector ,padapter->pid[selector]);
}
else
} else {
DBG_871X("%s selector %d error\n", __FUNCTION__, selector);
}
exit:
return ret;

View file

@ -35,10 +35,7 @@
#include <asm/io.h>
#endif
#ifdef CONFIG_GLOBAL_UI_PID
int ui_pid[3] = {0, 0, 0};
#endif
static int rtw_suspend(struct usb_interface *intf, pm_message_t message);
static int rtw_resume(struct usb_interface *intf);
@ -1427,12 +1424,10 @@ static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device
rtw_sw_export=if1;
#endif
#ifdef CONFIG_GLOBAL_UI_PID
if(ui_pid[1]!=0) {
DBG_871X("ui_pid[1]:%d\n",ui_pid[1]);
rtw_signal_process(ui_pid[1], SIGUSR2);
}
#endif
/* dev_alloc_name && register_netdev */
if((status = rtw_drv_register_netdev(if1)) != _SUCCESS) {