mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Remove dead code used for PLATFORM_WINDOWS, PLATFORM_OS_XP, and PLATFORM_OS_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
285af1cf22
commit
a3ca3380b5
36 changed files with 5 additions and 1748 deletions
|
@ -77,26 +77,7 @@ typedef struct _DR_VARIABLE_STRUCT_ {
|
|||
//int mp_start_joinbss(_adapter *padapter, NDIS_802_11_SSID *pssid);
|
||||
|
||||
//void _irqlevel_changed_(_irqL *irqlevel, /*bool*/unsigned char bLower);
|
||||
#ifdef PLATFORM_OS_XP
|
||||
static void _irqlevel_changed_(_irqL *irqlevel, u8 bLower)
|
||||
{
|
||||
|
||||
if (bLower == LOWER) {
|
||||
*irqlevel = KeGetCurrentIrql();
|
||||
|
||||
if (*irqlevel > PASSIVE_LEVEL) {
|
||||
KeLowerIrql(PASSIVE_LEVEL);
|
||||
}
|
||||
} else {
|
||||
if (KeGetCurrentIrql() == PASSIVE_LEVEL) {
|
||||
KeRaiseIrql(DISPATCH_LEVEL, irqlevel);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
#else
|
||||
#define _irqlevel_changed_(a,b)
|
||||
#endif
|
||||
|
||||
//oid_rtl_seg_81_80_00
|
||||
NDIS_STATUS oid_rt_pro_set_data_rate_hdl(struct oid_par_priv* poid_par_priv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue