Skip to content

Commit af16840

Browse files
committed
Remove unreachable error
1 parent d747682 commit af16840

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

envie/ota.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ mbed::BlockDevice* get_secondary_bd(void) {
378378
} else {
379379
return block_info[SECONDARY_BLOCK_DEVICE].file_bd;
380380
}
381-
382-
BOOT_LOG_ERR("Cannot define secondary Blockdevice Instance");
383-
return NULL;
384381
}
385382

386383

@@ -396,9 +393,6 @@ mbed::BlockDevice* get_scratch_bd(void) {
396393
} else {
397394
return block_info[SCRATCH_BLOCK_DEVICE].file_bd;
398395
}
399-
400-
BOOT_LOG_ERR("Cannot define secondary Blockdevice Instance");
401-
return NULL;
402396
}
403397

404398
#endif

0 commit comments

Comments
 (0)