mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
staging: rtl8192e: Remove unused variables ucReserved and friends
Remove unused variables ucReserved, ucSchedule, ucTSInfoAckPolicy, ucPSB, ucAggregation, ucAccessPolicy, ucTrafficType and charData. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/4edfbe350e05649d1f6028777dcadb15af25238c.1698042685.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
86dbdd2934
commit
a50c4bfa42
2 changed files with 0 additions and 14 deletions
|
@ -8,18 +8,10 @@
|
|||
#define __INC_QOS_TYPE_H
|
||||
|
||||
union qos_tsinfo {
|
||||
u8 charData[3];
|
||||
struct {
|
||||
u8 ucTrafficType:1;
|
||||
u8 ucTSID:4;
|
||||
u8 ucDirection:2;
|
||||
u8 ucAccessPolicy:2;
|
||||
u8 ucAggregation:1;
|
||||
u8 ucPSB:1;
|
||||
u8 ucUP:3;
|
||||
u8 ucTSInfoAckPolicy:2;
|
||||
u8 ucSchedule:1;
|
||||
u8 ucReserved:7;
|
||||
} field;
|
||||
};
|
||||
|
||||
|
|
|
@ -318,15 +318,9 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS,
|
|||
netdev_dbg(ieee->dev,
|
||||
"to init current TS, UP:%d, Dir:%d, addr: %pM ppTs=%p\n",
|
||||
UP, Dir, addr, *ppTS);
|
||||
ts_info->field.ucTrafficType = 0;
|
||||
ts_info->field.ucTSID = UP;
|
||||
ts_info->field.ucDirection = Dir;
|
||||
ts_info->field.ucAccessPolicy = 1;
|
||||
ts_info->field.ucAggregation = 0;
|
||||
ts_info->field.ucPSB = 0;
|
||||
ts_info->field.ucUP = UP;
|
||||
ts_info->field.ucTSInfoAckPolicy = 0;
|
||||
ts_info->field.ucSchedule = 0;
|
||||
|
||||
MakeTSEntry(*ppTS, addr, &TSpec, NULL, 0, 0);
|
||||
list_add_tail(&((*ppTS)->List), pAddmitList);
|
||||
|
|
Loading…
Reference in a new issue