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:
Philipp Hortmann 2023-10-23 08:39:57 +02:00 committed by Greg Kroah-Hartman
parent a50c4bfa42
commit cbc045bbd4
2 changed files with 0 additions and 2 deletions

View File

@ -11,7 +11,6 @@ union qos_tsinfo {
struct {
u8 ucTSID:4;
u8 ucDirection:2;
u8 ucUP:3;
} field;
};

View File

@ -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);