diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-11-19 23:15:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-23 12:46:28 +0000 |
commit | 49dd5a89cc35f2b2e0e3f4f1390cd000819a052a (patch) | |
tree | 2adc530b66421ad0a672213a51d28bef187da64c /drivers/staging/rtl8192e/dot11d.h | |
parent | 8d0a43cb658de4dfb8f5729419760b6bef9c8358 (diff) |
staging: rtl8192e: Remove unused variable dot11d_info->state
Remove unused variable dot11d_info->state. Remove unused enum
dot11d_state as well.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/2f1d4851a7a370c5ef367568c2b098bb9fbf0ce7.1700431464.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/dot11d.h')
-rw-r--r-- | drivers/staging/rtl8192e/dot11d.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h index d3da4af4a16b..c7d35ec86aae 100644 --- a/drivers/staging/rtl8192e/dot11d.h +++ b/drivers/staging/rtl8192e/dot11d.h @@ -16,12 +16,6 @@ struct chnl_txpow_triple { u8 max_tx_power; }; -enum dot11d_state { - DOT11D_STATE_NONE = 0, - DOT11D_STATE_LEARNED, - DOT11D_STATE_DONE, -}; - /** * struct rt_dot11d_info * @country_len: value greater than 0 if * @country_buffer contains valid country information element. @@ -40,8 +34,6 @@ struct rt_dot11d_info { u8 channel_map[MAX_CHANNEL_NUMBER + 1]; u8 max_tx_power_list[MAX_CHANNEL_NUMBER + 1]; - - enum dot11d_state state; }; #define GET_DOT11D_INFO(__ieee_dev) \ |