Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
f6094990
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f6094990
编写于
7月 14, 2011
作者:
L
Larry Finger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
staging: rtl8192e: Remove dead code associated with CONFIG_RTL_RFKILL
Signed-off-by:
N
Larry Finger
<
Larry.Finger@lwfinger.net
>
上级
c9d9a801
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
23 deletion
+0
-23
drivers/staging/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl_core.c
+0
-16
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl_core.h
+0
-7
未找到文件。
drivers/staging/rtl8192e/rtl_core.c
浏览文件 @
f6094990
...
...
@@ -1147,11 +1147,7 @@ static void rtl8192_init_priv_handler(struct net_device* dev)
priv
->
rtllib
->
ScanOperationBackupHandler
=
PHY_ScanOperationBackup8192
;
#ifdef CONFIG_RTL_RFKILL
priv
->
rtllib
->
rtllib_rfkill_poll
=
rtl8192_rfkill_poll
;
#else
priv
->
rtllib
->
rtllib_rfkill_poll
=
NULL
;
#endif
}
static
void
rtl8192_init_priv_constant
(
struct
net_device
*
dev
)
...
...
@@ -3056,15 +3052,6 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
if
(
priv
->
polling_timer_on
==
0
){
check_rfctrl_gpio_timer
((
unsigned
long
)
dev
);
}
#ifdef CONFIG_RTL_RFKILL
if
(
priv
->
ops
->
init_before_adapter_start
)
{
priv
->
ops
->
init_before_adapter_start
(
dev
);
priv
->
initialized_at_probe
=
true
;
}
if
(
!
rtl8192_rfkill_init
(
dev
))
{
goto
fail1
;
}
#endif
RT_TRACE
(
COMP_INIT
,
"Driver probe completed
\n
"
);
return
0
;
...
...
@@ -3099,9 +3086,6 @@ static void __devexit rtl8192_pci_disconnect(struct pci_dev *pdev)
struct
net_device
*
dev
=
pci_get_drvdata
(
pdev
);
struct
r8192_priv
*
priv
;
if
(
dev
){
#ifdef CONFIG_RTL_RFKILL
rtl8192_rfkill_exit
(
dev
);
#endif
unregister_netdev
(
dev
);
priv
=
rtllib_priv
(
dev
);
...
...
drivers/staging/rtl8192e/rtl_core.h
浏览文件 @
f6094990
...
...
@@ -56,10 +56,6 @@
#include "r8190P_def.h"
#include "r8192E_dev.h"
#ifdef CONFIG_RTL_RFKILL
#include "rtl_rfkill.h"
#endif
#include "rtl_debug.h"
#include "rtl_eeprom.h"
#include "rtl_ps.h"
...
...
@@ -678,9 +674,6 @@ typedef struct r8192_priv
u8
RegCWinMin
;
u8
keepAliveLevel
;
#ifdef CONFIG_RTL_RFKILL
bool
rfkill_off
;
#endif
bool
sw_radio_on
;
bool
bHwRadioOff
;
bool
pwrdown
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录