Commit e3a7f78d authored by Lee Jones's avatar Lee Jones Committed by Greg Kroah-Hartman

staging: rtl8723bs: hal: odm_NoiseMonitor: Remove unused variable 'func_start'

Fixes the following W=1 kernel build warning(s):

 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c: In function ‘odm_InbandNoise_Monitor_NSeries’:
 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c:32:18: warning: variable ‘func_start’ set but not used [-Wunused-but-set-variable]

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Marco Cesati <marcocesati@gmail.com>
Cc: linux-staging@lists.linux.dev
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210414181129.1628598-53-lee.jones@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bbf40b2f
...@@ -29,9 +29,8 @@ static s16 odm_InbandNoise_Monitor_NSeries( ...@@ -29,9 +29,8 @@ static s16 odm_InbandNoise_Monitor_NSeries(
u8 max_rf_path = 0, rf_path; u8 max_rf_path = 0, rf_path;
u8 reg_c50, reg_c58, valid_done = 0; u8 reg_c50, reg_c58, valid_done = 0;
struct noise_level noise_data; struct noise_level noise_data;
u32 start = 0, func_start = 0; u32 start = 0;
func_start = jiffies;
pDM_Odm->noise_level.noise_all = 0; pDM_Odm->noise_level.noise_all = 0;
if ((pDM_Odm->RFType == ODM_1T2R) || (pDM_Odm->RFType == ODM_2T2R)) if ((pDM_Odm->RFType == ODM_1T2R) || (pDM_Odm->RFType == ODM_2T2R))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment