OSDN Git Service

staging:rtl8192u: Remove enum CHNLOP - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 17 Aug 2018 18:34:46 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:23:20 +0000 (19:23 +0200)
commit9ff6cdd3934a38589bc1895a898bf11a5f50b4b7
treebed9ab50faf8c5b8062c89103d9161ebc530ab70
parentccedf8912c36a7a7d62c85b28973a0b4e0d86cfe
staging:rtl8192u: Remove enum CHNLOP - Style

The enumerated type CHNLOP is only used as a member variable of the
structure RT_HIGH_THROUGHPUT. Whilst this member variable is initialised
it is never actually used in the code. To simplify the code both the
enumerated type and the member variable have been 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>
drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c