From: Marco Cesati Date: Wed, 24 Mar 2021 12:44:46 +0000 (+0100) Subject: Staging: rtl8723bs: remove named enums in hal_com_phycfg.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5f1c94a050e9fc15e6bbad1d4ff98e6dcc6ca9fc;p=linux.git Staging: rtl8723bs: remove named enums in hal_com_phycfg.h Remove the following unnecessary enum names in include/hal_com_phycfg.h: enum rf_tx_num enum _regulation_txpwr_lmt Signed-off-by: Marco Cesati Link: https://lore.kernel.org/r/20210324124456.25221-24-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h index 51eef4d5c8613..73f6cadb5c790 100644 --- a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h +++ b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h @@ -25,7 +25,7 @@ enum rate_section { VHT_4SSMCS0_4SSMCS9, }; -enum rf_tx_num { +enum { RF_1TX = 0, RF_2TX, RF_3TX, @@ -36,7 +36,7 @@ enum rf_tx_num { #define MAX_POWER_INDEX 0x3F -enum _regulation_txpwr_lmt { +enum { TXPWR_LMT_FCC = 0, TXPWR_LMT_MKK, TXPWR_LMT_ETSI,