Revert fix for variable set but not used warning

This commit is contained in:
Lee Lup Yuen 2020-12-28 11:58:41 +08:00 committed by GitHub
parent 92d3f91417
commit 4988edf43a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);