src: platform: intel: cavs: lib: remove unnecessary parentheses

Remove unnecessary parentheses around the right hand side of an
assignment.

Signed-off-by: Payal Kshirsagar <payalskshirsagar1234@gmail.com>
This commit is contained in:
Payal Kshirsagar 2020-03-25 15:18:14 +05:30 committed by Liam Girdwood
parent 7bf879b226
commit 6dd5e22f32
1 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ void set_power_gate_for_memory_address_range(void *ptr,
/* Ending bank id has to be lowered by one because it is /* Ending bank id has to be lowered by one because it is
* calculated from memory end ptr * calculated from memory end ptr
*/ */
ending_bank_id = (((uintptr_t)end_ptr - HP_SRAM_BASE) ending_bank_id = ((uintptr_t)end_ptr - HP_SRAM_BASE)
/ SRAM_BANK_SIZE - 1); / SRAM_BANK_SIZE - 1;
set_banks_gating(start_bank_id, ending_bank_id, enabled); set_banks_gating(start_bank_id, ending_bank_id, enabled);
} }