From: Marco Cesati Date: Wed, 24 Mar 2021 12:44:30 +0000 (+0100) Subject: Staging: rtl8723bs: remove named enums in rtw_ht.h X-Git-Tag: accepted/tizen/unified/20230118.172025~7414^2~328 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56b89735f3792c6520bfacadd6c57efe963f59e8;p=platform%2Fkernel%2Flinux-rpi.git Staging: rtl8723bs: remove named enums in rtw_ht.h Remove the following unnecessary enum names in include/rtw_ht.h: enum aggre_size_e enum rt_ht_inf0_capbility enum rt_ht_inf1_capbility Signed-off-by: Marco Cesati Link: https://lore.kernel.org/r/20210324124456.25221-8-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_ht.h b/drivers/staging/rtl8723bs/include/rtw_ht.h index fb321d2..e3f353f 100644 --- a/drivers/staging/rtl8723bs/include/rtw_ht.h +++ b/drivers/staging/rtl8723bs/include/rtw_ht.h @@ -37,7 +37,7 @@ struct ht_priv { }; -enum aggre_size_e { +enum { HT_AGG_SIZE_8K = 0, HT_AGG_SIZE_16K = 1, HT_AGG_SIZE_32K = 2, @@ -48,7 +48,7 @@ enum aggre_size_e { VHT_AGG_SIZE_1024K = 7, }; -enum rt_ht_inf0_capbility { +enum { RT_HT_CAP_USE_TURBO_AGGR = 0x01, RT_HT_CAP_USE_LONG_PREAMBLE = 0x02, RT_HT_CAP_USE_AMPDU = 0x04, @@ -59,7 +59,7 @@ enum rt_ht_inf0_capbility { RT_HT_CAP_USE_AP_CLIENT_MODE = 0x80, /* AP team request to reserve this bit, by Emily */ }; -enum rt_ht_inf1_capbility { +enum { RT_HT_CAP_USE_VIDEO_CLIENT = 0x01, RT_HT_CAP_USE_JAGUAR_BCUT = 0x02, RT_HT_CAP_USE_JAGUAR_CCUT = 0x04,