diff --git a/scripts/west_commands/runners/stm32flash.py b/scripts/west_commands/runners/stm32flash.py index 19141315c83..5d3176caa4a 100644 --- a/scripts/west_commands/runners/stm32flash.py +++ b/scripts/west_commands/runners/stm32flash.py @@ -95,7 +95,6 @@ class Stm32flashBinaryRunner(ZephyrBinaryRunner): '-m', self.serial_mode] action = self.action.lower() - msg_text = "something went wrong" if action == 'info': # show device information and exit