From 4988edf43abe7f441ce8c0ed6c0097b7014deb4c Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Mon, 28 Dec 2020 11:58:41 +0800 Subject: [PATCH] Revert fix for variable set but not used warning --- components/hal_drv/bl602_hal/hal_board.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/hal_drv/bl602_hal/hal_board.c b/components/hal_drv/bl602_hal/hal_board.c index 33165e96..9a444189 100644 --- a/components/hal_drv/bl602_hal/hal_board.c +++ b/components/hal_drv/bl602_hal/hal_board.c @@ -726,7 +726,6 @@ static int hal_board_load_fdt_info(const void *dtb) } else { pwr_table_ble = 0; } - pwr_table_ble += 0; // Suppress "variable set but not used" warning blog_info("set pwr_table_ble = %ld in dts\r\n", pwr_table_ble); #ifdef CFG_BLE_ENABLE ble_controller_set_tx_pwr(pwr_table_ble);