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 written but unevaluated variable ucUP
Remove variable ucUP as its value is written but never evaluated. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/724cf398d27f74cb7e0f290e1a8e55ed67dffcc3.1698042685.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a50c4bfa42
commit
cbc045bbd4
2 changed files with 0 additions and 2 deletions
|
@ -11,7 +11,6 @@ union qos_tsinfo {
|
|||
struct {
|
||||
u8 ucTSID:4;
|
||||
u8 ucDirection:2;
|
||||
u8 ucUP:3;
|
||||
} field;
|
||||
};
|
||||
|
||||
|
|
|
@ -320,7 +320,6 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS,
|
|||
UP, Dir, addr, *ppTS);
|
||||
ts_info->field.ucTSID = UP;
|
||||
ts_info->field.ucDirection = Dir;
|
||||
ts_info->field.ucUP = UP;
|
||||
|
||||
MakeTSEntry(*ppTS, addr, &TSpec, NULL, 0, 0);
|
||||
list_add_tail(&((*ppTS)->List), pAddmitList);
|
||||
|
|
Loading…
Reference in a new issue