summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtl819x_TS.h
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2023-10-23 09:40:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-25 13:56:38 +0300
commit64cc56bacb428902d1e883dbd359451d4b584419 (patch)
treee227c78e185fc968c6cdf84dc88c8b7ed69f08e9 /drivers/staging/rtl8192e/rtl819x_TS.h
parent6e4b8282dd9e12a2de3aeb62492061ee6ea2ced7 (diff)
downloadlinux-64cc56bacb428902d1e883dbd359451d4b584419.tar.xz
staging: rtl8192e: Replace union tspec_body including embedded struct
Replace union tspec_body including embedded struct with embedded union as it has only one element. This will increase readability of the code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/be3e7cc62c2cdce652c24d3d3dbf7651b6ca71bc.1698042685.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_TS.h')
-rw-r--r--drivers/staging/rtl8192e/rtl819x_TS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TS.h b/drivers/staging/rtl8192e/rtl819x_TS.h
index a9770592a8c9..ed77763bb1fc 100644
--- a/drivers/staging/rtl8192e/rtl819x_TS.h
+++ b/drivers/staging/rtl8192e/rtl819x_TS.h
@@ -20,7 +20,7 @@ enum tr_select {
struct ts_common_info {
struct list_head List;
u8 addr[ETH_ALEN];
- union tspec_body TSpec;
+ union qos_tsinfo TSpec;
union qos_tclas TClass[TCLAS_NUM];
u8 TClasProc;
u8 TClasNum;