aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorJohn Whitmore <johnfwhitmore@gmail.com>2018-07-31 22:00:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 09:46:01 +0200
commit9e86a12e7b968da44c22b5cf96fe960af88b98d6 (patch)
tree3e8e33297b871fb020c7c4100986caaf5845ac80 /drivers/staging/rtl8192u
parentstaging:rtl8192u: Rename octet_string members - Style (diff)
downloadlinux-dev-9e86a12e7b968da44c22b5cf96fe960af88b98d6.tar.xz
linux-dev-9e86a12e7b968da44c22b5cf96fe960af88b98d6.zip
staging:rtl8192u: Remove unused UP2AC - Style
The macro UP2AC is commented out of the header file so the macro and its associated comment are removed. This is a coding style change which 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')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
index 50b05ee52210..59a60f86607c 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
@@ -77,9 +77,6 @@ struct octet_string {
u16 length;
};
-//Added by joseph
-//UP Mapping to AC, using in MgntQuery_SequenceNumber() and maybe for DSCP
-//#define UP2AC(up) ((up<3)?((up==0)?1:0):(up>>1))
#define IsACValid(ac) ((ac <= 7) ? true : false)
#endif // #ifndef __INC_QOS_TYPE_H