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:
Marc Schink
2025-07-27 14:26:35 +02:00
committed by Antonio Borneo
parent ddef9cf73b
commit 9279a489d4

View File

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