Skip to content

Commit 9279a48

Browse files
zapb-0borneoa
authored andcommitted
target/stm8: Remove useless parentheses
Parentheses are not necessary here, remove them. Change-Id: I793639fbef38688045104d351fb4e5320f1eba2a Signed-off-by: Marc Schink <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/9058 Reviewed-by: Antonio Borneo <[email protected]> Tested-by: jenkins
1 parent ddef9cf commit 9279a48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/target/stm8.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,13 +704,13 @@ static int stm8_write_flash(struct target *target, enum mem_type type,
704704
int res;
705705

706706
switch (type) {
707-
case (FLASH):
707+
case FLASH:
708708
stm8_unlock_flash(target);
709709
break;
710-
case (EEPROM):
710+
case EEPROM:
711711
stm8_unlock_eeprom(target);
712712
break;
713-
case (OPTION):
713+
case OPTION:
714714
stm8_unlock_eeprom(target);
715715
opt = OPT;
716716
break;

0 commit comments

Comments
 (0)