bd: Fixed unused cfg warnings in bd noop erases

This commit is contained in:
Christopher Haster
2026-01-18 01:49:05 -06:00
parent c07a69c2a6
commit d3b1bf2a88
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -135,6 +135,7 @@ int lfs3_filebd_erase(const struct lfs3_cfg *cfg, lfs3_block_t block) {
LFS3_ASSERT(block < cfg->block_count);
// erase is a noop
(void)cfg;
(void)block;
LFS3_FILEBD_TRACE("lfs3_filebd_erase -> %d", 0);
+1
View File
@@ -114,6 +114,7 @@ int lfs3_rambd_erase(const struct lfs3_cfg *cfg, lfs3_block_t block) {
LFS3_ASSERT(block < cfg->block_count);
// erase is a noop
(void)cfg;
(void)block;
LFS3_RAMBD_TRACE("lfs3_rambd_erase -> %d", 0);