mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-14 02:58:23 +08:00
target/stm8: Remove useless parentheses
Parentheses are not necessary here, remove them. Change-Id: I793639fbef38688045104d351fb4e5320f1eba2a Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/9058 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:

committed by
Antonio Borneo

parent
ddef9cf73b
commit
9279a489d4
@@ -704,13 +704,13 @@ static int stm8_write_flash(struct target *target, enum mem_type type,
|
||||
int res;
|
||||
|
||||
switch (type) {
|
||||
case (FLASH):
|
||||
case FLASH:
|
||||
stm8_unlock_flash(target);
|
||||
break;
|
||||
case (EEPROM):
|
||||
case EEPROM:
|
||||
stm8_unlock_eeprom(target);
|
||||
break;
|
||||
case (OPTION):
|
||||
case OPTION:
|
||||
stm8_unlock_eeprom(target);
|
||||
opt = OPT;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user