Skip to content

Commit

Permalink
tests/mtd_mapper: don't set device properites for regions
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jun 1, 2022
1 parent 1e27fde commit 8ebfe9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/mtd_mapper/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ static mtd_mapper_region_t _region_a = {
.mtd = {
.driver = &mtd_mapper_driver,
.sector_count = SECTOR_COUNT / 2,
.pages_per_sector = PAGE_PER_SECTOR,
.page_size = PAGE_SIZE,
.write_size = WRITE_SIZE,
},
.parent = &_parent,
.sector = 0,
Expand All @@ -204,9 +201,6 @@ static mtd_mapper_region_t _region_b = {
.mtd = {
.driver = &mtd_mapper_driver,
.sector_count = SECTOR_COUNT / 2,
.pages_per_sector = PAGE_PER_SECTOR,
.page_size = PAGE_SIZE,
.write_size = WRITE_SIZE,
},
.parent = &_parent,
.sector = SECTOR_COUNT / 2,
Expand Down

0 comments on commit 8ebfe9f

Please sign in to comment.