summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
diff options
context:
space:
mode:
authorJohn Whitmore <johnfwhitmore@gmail.com>2018-08-04 10:18:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-05 16:22:56 +0200
commitf1c3b4880bdf4f64c3bfb6d122e33b54b17231cd (patch)
tree7b9ad2b8d9540c6606869ed35c2fdb4c307a4aa3 /drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
parent0f79619d70bb1c1fa85f1a2b7dc54080b11532cb (diff)
downloadlinux-f1c3b4880bdf4f64c3bfb6d122e33b54b17231cd.tar.bz2
staging:rtl8192u: Remove typedef and rename QOS_TCLAS - Style
Remove the typedef from the union QOS_TCLAS, which causes a checkpatch issue with defining new types. In addition, as a type, the name should be in lowercase so has been changed. These are coding style changes and should have no impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
index 5cf00a2e08ae..823ba363e0ab 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
@@ -14,7 +14,7 @@ enum tr_select {
RX_DIR = 1,
};
-typedef union _QOS_TCLAS {
+union qos_tclas {
struct _TYPE_GENERAL {
u8 Priority;
@@ -63,7 +63,7 @@ typedef union _QOS_TCLAS {
u8 Mask;
u16 TagType;
} TYPE2_8021Q;
-} QOS_TCLAS, *PQOS_TCLAS;
+};
struct ts_common_info {
struct list_head list;
@@ -71,7 +71,7 @@ struct ts_common_info {
struct timer_list inact_timer;
u8 addr[6];
struct tspec_body t_spec;
- QOS_TCLAS t_class[TCLAS_NUM];
+ union qos_tclas t_class[TCLAS_NUM];
u8 t_clas_proc;
u8 t_clas_num;
};