mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
4375c036ca
commit
9e86a12e7b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue