Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
34a7eb3d
Commit
34a7eb3d
authored
Jul 12, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Remove dead code inside 'ifdef MERGE_TO_DO'
Signed-off-by:
Larry Finger
<
Larry.Finger@lwfinger.net
>
parent
6e1acf20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
35 deletions
+0
-35
drivers/staging/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/r8192E_dev.c
+0
-26
drivers/staging/rtl8192e/rtl_ps.c
drivers/staging/rtl8192e/rtl_ps.c
+0
-6
drivers/staging/rtl8192e/rtllib_rx.c
drivers/staging/rtl8192e/rtllib_rx.c
+0
-3
No files found.
drivers/staging/rtl8192e/r8192E_dev.c
View file @
34a7eb3d
...
...
@@ -166,24 +166,6 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
priv
->
slot_time
=
val
[
0
];
write_nic_byte
(
dev
,
SLOT_TIME
,
val
[
0
]);
#ifdef MERGE_TO_DO
if
(
priv
->
rtllib
->
current_network
.
qos_data
.
supported
!=
0
)
{
for
(
eACI
=
0
;
eACI
<
AC_MAX
;
eACI
++
)
{
priv
->
rtllib
->
SetHwRegHandler
(
dev
,
HW_VAR_AC_PARAM
,
(
u8
*
)(
&
eACI
));
}
}
else
{
u8
u1bAIFS
=
aSifsTime
+
(
2
*
priv
->
slot_time
);
write_nic_byte
(
dev
,
EDCAPARA_VO
,
u1bAIFS
);
write_nic_byte
(
dev
,
EDCAPARA_VI
,
u1bAIFS
);
write_nic_byte
(
dev
,
EDCAPARA_BE
,
u1bAIFS
);
write_nic_byte
(
dev
,
EDCAPARA_BK
,
u1bAIFS
);
}
#endif
}
break
;
...
...
@@ -205,11 +187,7 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
case
HW_VAR_AC_PARAM
:
{
u8
pAcParam
=
*
((
u8
*
)
val
);
#ifdef MERGE_TO_DO
u32
eACI
=
GET_WMM_AC_PARAM_ACI
(
pAcParam
);
#else
u32
eACI
=
pAcParam
;
#endif
u8
u1bAIFS
;
u32
u4bAcParam
;
u8
mode
=
priv
->
rtllib
->
mode
;
...
...
@@ -256,11 +234,7 @@ rtl8192e_SetHwReg(struct net_device *dev,u8 variable,u8* val)
{
struct
rtllib_qos_parameters
*
qos_parameters
=
&
priv
->
rtllib
->
current_network
.
qos_data
.
parameters
;
u8
pAcParam
=
*
((
u8
*
)
val
);
#ifdef MERGE_TO_DO
u32
eACI
=
GET_WMM_AC_PARAM_ACI
(
pAciAifsn
);
#else
u32
eACI
=
pAcParam
;
#endif
PACI_AIFSN
pAciAifsn
=
(
PACI_AIFSN
)
&
(
qos_parameters
->
aifs
[
0
]);
u8
ACM
=
pAciAifsn
->
f
.
ACM
;
u8
AcmCtrl
=
read_nic_byte
(
dev
,
AcmHwCtrl
);
...
...
drivers/staging/rtl8192e/rtl_ps.c
View file @
34a7eb3d
...
...
@@ -443,12 +443,6 @@ bool PlatformSwitchClkReq(struct net_device *dev, u8 value)
Buffer
=
value
;
#ifdef MERGE_TO_DO
if
(
Adapter
->
bDriverIsGoingToPnpSetPowerSleep
&&
pDevice
->
RegSupportLowPowerState
&&
value
==
0x0
)
return
false
;
#endif
pci_write_config_byte
(
priv
->
pdev
,
0x81
,
value
);
bResult
=
true
;
...
...
drivers/staging/rtl8192e/rtllib_rx.c
View file @
34a7eb3d
...
...
@@ -894,9 +894,6 @@ rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee, PRX_TS_RECORD pTS)
rtllib_indicate_packets
(
ieee
,
RfdArray
,
RfdCnt
);
pTS
->
RxIndicateSeq
=
0xffff
;
#ifdef MERGE_TO_DO
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment