Re: [PATCH 02/10] staging: rtl8723bs: remove commented out RT_TRACE logs in hal/ and os_dep/

From: Dan Carpenter
Date: Fri Apr 09 2021 - 06:16:33 EST


On Mon, Apr 05, 2021 at 06:49:49PM +0200, Fabio Aiuto wrote:
> diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> index 9b16265b543d..f52cc4e7a6e6 100644
> --- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> +++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
> @@ -1785,7 +1785,6 @@ s8 phy_get_tx_pwr_lmt(struct adapter *adapter, u32 reg_pwr_tbl_sel,
> /*
> if (band_type == BAND_ON_5G && pwr_lmt == MAX_POWER_INDEX) {
> if (idx_bandwidth == 0 || idx_bandwidth == 1) {
> - RT_TRACE(COMP_INIT, DBG_LOUD, ("No power limit table of the specified band %d, bandwidth %d, ratesection %d, rf path %d\n",
> idx_band, idx_bandwidth,
> idx_rate_sctn, rf_path));
> if (idx_rate_sctn == 2)

This won't compile.

regards,
dan carpenter